Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 48.06 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2633, allocations: 53.36 MB / 431.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003309/0.2667, allocations: 1.639 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2677, allocations: 0.5454 MB / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.2678, allocations: 3.938 kB / 433.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.389e-05/0.2679, allocations: 7.875 kB / 433.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.268, allocations: 19.84 kB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2684, allocations: 59.81 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2685, allocations: 63.73 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2686, allocations: 24.2 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2687, allocations: 27.86 kB / 433.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.2688, allocations: 27.86 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2688, allocations: 7.938 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.2689, allocations: 4 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.2689, allocations: 23.91 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.269, allocations: 19.81 kB / 433.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2691, allocations: 77.34 kB / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2691, allocations: 0 / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2691, allocations: 0 / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2692, allocations: 4 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005287/0.2697, allocations: 324.6 kB / 433.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2697, allocations: 8.031 kB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.2698, allocations: 30.75 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.2699, allocations: 24.83 kB / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2702, allocations: 158.2 kB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2702, allocations: 8.375 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2703, allocations: 4.375 kB / 434.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.2706, allocations: 138.9 kB / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2706, allocations: 0 / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2706, allocations: 0 / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2706, allocations: 4 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.2707, allocations: 23.92 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.271, allocations: 262.4 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.2712, allocations: 98.36 kB / 434.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.2712, allocations: 39.48 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2713, allocations: 4 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2713, allocations: 42.48 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2713, allocations: 4 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002951/0.2716, allocations: 101.8 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.2717, allocations: 128.5 kB / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2719, allocations: 155.5 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2719, allocations: 25.7 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2719, allocations: 96.12 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.272, allocations: 11.95 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.272, allocations: 17.72 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2722, allocations: 322.8 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.2722, allocations: 12.2 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.2723, allocations: 57.2 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2724, allocations: 65.08 kB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2724, allocations: 4 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001619/0.2726, allocations: 85.5 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2726, allocations: 8 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2726, allocations: 0 / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.2726, allocations: 7.984 kB / 435.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.2727, allocations: 8 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2727, allocations: 4 kB / 435.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.2727, allocations: 7.922 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2728, allocations: 4 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.000115/0.2729, allocations: 133.9 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.273, allocations: 69.53 kB / 436.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.273, allocations: 23.84 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.273, allocations: 0 / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.273, allocations: 4 kB / 436.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.273, allocations: 0 / 436.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.2732, allocations: 144.7 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2732, allocations: 4 kB / 436.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.2733, allocations: 8 kB / 436.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2733, allocations: 8.094 kB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2733, allocations: 7.922 kB / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2733, allocations: 0 / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2733, allocations: 4 kB / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2735, allocations: 198 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.2736, allocations: 23.94 kB / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2736, allocations: 0 / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.2737, allocations: 4 kB / 436.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.2737, allocations: 0 / 436.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2737, allocations: 4 kB / 436.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.632e-05/0.2738, allocations: 119.2 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2738, allocations: 0 / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.2741, allocations: 8 kB / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005593/0.2746, allocations: 0.7461 MB / 437.4 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.2748, allocations: 39.92 kB / 437.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2748, allocations: 384 / 437.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.2748, allocations: 15.92 kB / 437.4 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2752, allocations: 36.06 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2769, allocations: 1.499 MB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.277, allocations: 83.33 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.277, allocations: 8.656 kB / 439 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.2771, allocations: 19.44 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2771, allocations: 7.938 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3066, allocations: 2.691 MB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.7, allocations: 8.656 kB / 441.8 MB, free: 11.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.089583959023003]