Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 107 kB / 17.74 MB, free: 5.23 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.001238/0.001238, allocations: 188.5 kB / 18.67 MB, free: 4.309 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.522/1.522, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 43.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3745, allocations: 49.44 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003068/0.3776, allocations: 1.553 MB / 403 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.3781, allocations: 143.4 kB / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.013e-05/0.3782, allocations: 0 / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.3782, allocations: 7.922 kB / 403.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.3784, allocations: 7.938 kB / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.3786, allocations: 31.91 kB / 403.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3787, allocations: 43.84 kB / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3789, allocations: 15.98 kB / 403.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.3789, allocations: 11.92 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.379, allocations: 15.88 kB / 403.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.379, allocations: 4 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.379, allocations: 0 / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3791, allocations: 15.92 kB / 403.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3791, allocations: 23.88 kB / 403.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3793, allocations: 51.69 kB / 403.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3793, allocations: 4 kB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3793, allocations: 4 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3793, allocations: 0 / 403.3 MB, free: 6.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005598/0.3799, allocations: 367.1 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3799, allocations: 8.031 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.38, allocations: 8.844 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3803, allocations: 189.5 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3804, allocations: 8.375 kB / 403.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3804, allocations: 4.375 kB / 403.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.3807, allocations: 113.5 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3807, allocations: 192 / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3808, allocations: 3.938 kB / 404 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3808, allocations: 4 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.3808, allocations: 23.97 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.3812, allocations: 257.8 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.3815, allocations: 142.2 kB / 404.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.3816, allocations: 33.77 kB / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3816, allocations: 0 / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3817, allocations: 34.5 kB / 404.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3817, allocations: 0 / 404.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002937/0.382, allocations: 81.59 kB / 404.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.382, allocations: 81.14 kB / 404.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3822, allocations: 137.5 kB / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3822, allocations: 25.7 kB / 404.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.3822, allocations: 84.14 kB / 404.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3823, allocations: 7.906 kB / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3823, allocations: 21.7 kB / 404.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3824, allocations: 310.8 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.3825, allocations: 15.98 kB / 405.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.3825, allocations: 27.44 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.3826, allocations: 55.3 kB / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3826, allocations: 0 / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.3828, allocations: 81.39 kB / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3828, allocations: 4 kB / 405.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3828, allocations: 0 / 405.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3829, allocations: 4 kB / 405.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.3829, allocations: 8 kB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3829, allocations: 3.984 kB / 405.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.383, allocations: 8.125 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.383, allocations: 0 / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.597e-05/0.3831, allocations: 121.7 kB / 405.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.3832, allocations: 53.81 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.3832, allocations: 12.25 kB / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3832, allocations: 4.031 kB / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3832, allocations: 0 / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3832, allocations: 4 kB / 405.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3834, allocations: 169.6 kB / 405.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3834, allocations: 4 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.3835, allocations: 11.98 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3835, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3835, allocations: 4 kB / 405.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3835, allocations: 7.938 kB / 405.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3835, allocations: 0 / 405.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3837, allocations: 172.2 kB / 406 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3838, allocations: 89.09 kB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3838, allocations: 4 kB / 406.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.3839, allocations: 0 / 406.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3839, allocations: 4 kB / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3839, allocations: 0 / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.931e-05/0.384, allocations: 107.2 kB / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.384, allocations: 0 / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3843, allocations: 4 kB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001359/0.3844, allocations: 104 kB / 406.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3846, allocations: 31.91 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3846, allocations: 0 / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.3846, allocations: 12 kB / 406.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.385, allocations: 19.95 kB / 406.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3854, allocations: 188.3 kB / 406.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3857, allocations: 0.6961 MB / 407.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.3857, allocations: 11.44 kB / 407.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3857, allocations: 0 / 407.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.002519/0.3883, allocations: 0.6796 MB / 407.9 MB, free: 1.898 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches