Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001077, allocations: 110 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.001111, allocations: 39.94 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3274, allocations: 49.44 MB / 400.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003241/0.3307, allocations: 1.683 MB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005059/0.3312, allocations: 167.4 kB / 402.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.3313, allocations: 0 / 402.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.3314, allocations: 7.875 kB / 402.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.3316, allocations: 15.91 kB / 402.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3319, allocations: 51.77 kB / 402.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.332, allocations: 47.91 kB / 402.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3322, allocations: 35.97 kB / 402.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.3322, allocations: 19.88 kB / 402.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.3323, allocations: 27.8 kB / 402.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3323, allocations: 8 kB / 402.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.3323, allocations: 4 kB / 402.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3324, allocations: 19.91 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.3325, allocations: 39.73 kB / 402.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3326, allocations: 71.66 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3326, allocations: 0 / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3326, allocations: 4 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3326, allocations: 0 / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005164/0.3331, allocations: 384.3 kB / 403.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3332, allocations: 12.02 kB / 403.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3332, allocations: 8.844 kB / 403.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3335, allocations: 192.1 kB / 403.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3335, allocations: 12.3 kB / 403.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3335, allocations: 12.38 kB / 403.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3339, allocations: 166.3 kB / 403.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3339, allocations: 192 / 403.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3339, allocations: 7.938 kB / 403.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3339, allocations: 4 kB / 403.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3341, allocations: 39.91 kB / 403.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3345, allocations: 369.8 kB / 404.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3347, allocations: 123.8 kB / 404.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.3348, allocations: 58.67 kB / 404.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3348, allocations: 0 / 404.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3349, allocations: 38.56 kB / 404.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3349, allocations: 0 / 404.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000325/0.3352, allocations: 125.4 kB / 404.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.3353, allocations: 106.8 kB / 404.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3354, allocations: 136.2 kB / 404.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3354, allocations: 29.7 kB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.3355, allocations: 96.31 kB / 404.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3355, allocations: 8.062 kB / 404.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3356, allocations: 33.61 kB / 404.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3357, allocations: 314.8 kB / 405.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.3357, allocations: 11.98 kB / 405.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.3358, allocations: 83.59 kB / 405.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.336, allocations: 91.53 kB / 405.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.336, allocations: 4 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.3362, allocations: 105.7 kB / 405.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3362, allocations: 8 kB / 405.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3362, allocations: 0 / 405.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3363, allocations: 4 kB / 405.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.3363, allocations: 23.94 kB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.3364, allocations: 7.922 kB / 405.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.3364, allocations: 11.91 kB / 405.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3364, allocations: 4 kB / 405.5 MB, free: 3.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.3365, allocations: 121.8 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3367, allocations: 81.58 kB / 405.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3367, allocations: 16.7 kB / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3367, allocations: 0 / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3368, allocations: 4 kB / 405.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3368, allocations: 3.938 kB / 405.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.337, allocations: 185.5 kB / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.337, allocations: 0 / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.3371, allocations: 19.98 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3371, allocations: 4 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3371, allocations: 0 / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3371, allocations: 4 kB / 405.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3371, allocations: 4 kB / 405.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.3375, allocations: 316.1 kB / 406.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3376, allocations: 101 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3376, allocations: 3.938 kB / 406.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3377, allocations: 4 kB / 406.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3378, allocations: 4 kB / 406.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3378, allocations: 8 kB / 406.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.3379, allocations: 109.9 kB / 406.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 406.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3382, allocations: 8 kB / 406.5 MB, free: 2.707 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.3383, allocations: 108 kB / 406.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.3385, allocations: 60.12 kB / 406.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3385, allocations: 0 / 406.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.3386, allocations: 19.92 kB / 406.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.339, allocations: 48.33 kB / 406.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.3395, allocations: 208.8 kB / 406.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3398, allocations: 0.7004 MB / 407.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.3399, allocations: 8.656 kB / 407.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3399, allocations: 11.44 kB / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3399, allocations: 3.938 kB / 407.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of Templates: time 0.003215/0.3431, allocations: 0.6975 MB / 408.3 MB, free: 0.7852 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches