Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000959/0.0009591, allocations: 174.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205 MB / 222.5 MB, free: 9.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008045/0.0008045, allocations: 89.91 kB / 270.5 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07348/0.07348, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003715, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08714, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.001691/0.08889, allocations: 1.408 MB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000422/0.08934, allocations: 167.4 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.08947, allocations: 0 / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.159e-05/0.08957, allocations: 3.938 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.08972, allocations: 4 kB / 443.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.08999, allocations: 51.83 kB / 443.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.0901, allocations: 47.86 kB / 443.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.09022, allocations: 27.97 kB / 443.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.09027, allocations: 23.86 kB / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.09032, allocations: 15.88 kB / 443.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.09034, allocations: 0 / 443.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.09036, allocations: 8 kB / 443.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.09042, allocations: 11.92 kB / 443.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.09046, allocations: 31.75 kB / 443.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.603e-05/0.09054, allocations: 40.19 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09056, allocations: 4 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.09056, allocations: 0 / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09057, allocations: 0 / 443.5 MB, free: 14.55 MB / 298.7 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.0005119/0.09109, allocations: 375.2 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.09115, allocations: 16.03 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.0912, allocations: 8.844 kB / 443.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.09139, allocations: 205 kB / 444.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.09141, allocations: 384 / 444.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.09143, allocations: 4.375 kB / 444.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.09177, allocations: 167.8 kB / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.0918, allocations: 192 / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.09182, allocations: 3.938 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.09183, allocations: 7.938 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.09195, allocations: 43.91 kB / 444.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.09233, allocations: 373.7 kB / 444.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.09256, allocations: 119.8 kB / 444.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.09265, allocations: 58.69 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.09269, allocations: 0 / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.09271, allocations: 38.5 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.09272, allocations: 0 / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003272/0.09305, allocations: 129.9 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.09312, allocations: 114.9 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.09323, allocations: 139.7 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.09325, allocations: 25.7 kB / 445.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.09331, allocations: 100.3 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.09334, allocations: 4 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.09338, allocations: 21.7 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.09346, allocations: 310.8 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.09352, allocations: 19.98 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.09359, allocations: 79.66 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.09371, allocations: 99.53 kB / 445.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.09372, allocations: 0 / 445.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.09391, allocations: 117.4 kB / 446 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.09394, allocations: 4 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.09395, allocations: 4 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.09398, allocations: 4 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.09405, allocations: 27.91 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.09407, allocations: 7.938 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.09413, allocations: 20.12 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.09415, allocations: 4 kB / 446.1 MB, free: 11.62 MB / 298.7 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 8.586e-05/0.09424, allocations: 122.7 kB / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.09435, allocations: 73.53 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.0944, allocations: 20.7 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.09441, allocations: 8 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.09442, allocations: 0 / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.09444, allocations: 0 / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.09465, allocations: 185.6 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.09466, allocations: 4.188 kB / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.09473, allocations: 19.98 kB / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.09474, allocations: 3.938 kB / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.09476, allocations: 0 / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.09477, allocations: 4 kB / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.09477, allocations: 0 / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.09515, allocations: 324.2 kB / 446.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.09521, allocations: 96.94 kB / 447 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.09524, allocations: 7.938 kB / 447 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.09534, allocations: 0 / 447 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.09538, allocations: 7.984 kB / 447 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.09539, allocations: 12 kB / 447 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.09545, allocations: 105.9 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09546, allocations: 0 / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.09573, allocations: 11.91 kB / 447.1 MB, free: 10.53 MB / 298.7 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 8.383e-05/0.09582, allocations: 99.19 kB / 447.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.09598, allocations: 68.39 kB / 447.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.096, allocations: 0 / 447.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.09604, allocations: 15.92 kB / 447.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.09647, allocations: 40.02 kB / 447.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.09684, allocations: 267.8 kB / 447.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.09699, allocations: 0.6965 MB / 448.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.09702, allocations: 15.44 kB / 448.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.09703, allocations: 0 / 448.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of Templates: time 0.002236/0.09927, allocations: 0.903 MB / 449.2 MB, free: 8.355 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches