Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 184.2 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 39.94 kB / 370.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2625, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003071/0.2655, allocations: 1.637 MB / 424.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.2665, allocations: 0.522 MB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.2666, allocations: 0 / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.2667, allocations: 7.875 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2668, allocations: 19.84 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.2671, allocations: 58.95 kB / 424.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2672, allocations: 55.72 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2673, allocations: 23.94 kB / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.2674, allocations: 31.84 kB / 425 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.2675, allocations: 19.86 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2675, allocations: 4 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2675, allocations: 4 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.2676, allocations: 19.92 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.2676, allocations: 31.75 kB / 425.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2677, allocations: 68.02 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.2678, allocations: 4 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2678, allocations: 0 / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2678, allocations: 0 / 425.1 MB, free: 12.13 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.0005157/0.2683, allocations: 321.8 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2683, allocations: 12.03 kB / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.2684, allocations: 38.73 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2684, allocations: 8.891 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2686, allocations: 146.3 kB / 425.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2686, allocations: 4.375 kB / 425.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2687, allocations: 12.31 kB / 425.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.269, allocations: 138.8 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.269, allocations: 4 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.269, allocations: 0 / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.269, allocations: 0 / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.2691, allocations: 35.91 kB / 425.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.2694, allocations: 266.4 kB / 426.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2696, allocations: 94.42 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.2696, allocations: 43.48 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2697, allocations: 3.984 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2697, allocations: 42.5 kB / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2697, allocations: 0 / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002993/0.27, allocations: 97.55 kB / 426.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.2701, allocations: 145 kB / 426.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2702, allocations: 148.1 kB / 426.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2703, allocations: 25.7 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.2703, allocations: 92.14 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.2703, allocations: 11.88 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.2704, allocations: 17.72 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2705, allocations: 326.8 kB / 427.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.2706, allocations: 8 kB / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.2706, allocations: 53.14 kB / 427.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2708, allocations: 65.02 kB / 427.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2708, allocations: 0 / 427.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001588/0.2709, allocations: 85.5 kB / 427.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2709, allocations: 8 kB / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2709, allocations: 192 / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.271, allocations: 8 kB / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.271, allocations: 11.98 kB / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2711, allocations: 4 kB / 427.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.2711, allocations: 4 kB / 427.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2711, allocations: 4 kB / 427.4 MB, free: 9.578 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.0001172/0.2712, allocations: 129.7 kB / 427.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2713, allocations: 69.53 kB / 427.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.2714, allocations: 16.06 kB / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2714, allocations: 0 / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2714, allocations: 4 kB / 427.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2714, allocations: 0 / 427.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2716, allocations: 148.7 kB / 427.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2716, allocations: 3.938 kB / 427.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.2717, allocations: 19.98 kB / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2717, allocations: 0 / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2717, allocations: 4 kB / 427.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2717, allocations: 0 / 427.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2717, allocations: 0 / 427.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2719, allocations: 206.1 kB / 428 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.2719, allocations: 19.88 kB / 428 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.272, allocations: 4 kB / 428 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.272, allocations: 11.98 kB / 428 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.2721, allocations: 4 kB / 428 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2721, allocations: 0 / 428 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.2722, allocations: 114.1 kB / 428.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2722, allocations: 0 / 428.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.2724, allocations: 15.94 kB / 428.1 MB, free: 8.738 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.0005394/0.2729, allocations: 0.7304 MB / 428.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.2731, allocations: 47.91 kB / 428.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2731, allocations: 384 / 428.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.2731, allocations: 8 kB / 428.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2735, allocations: 47.22 kB / 429 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2751, allocations: 1.489 MB / 430.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2754, allocations: 0.7039 MB / 431.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.2755, allocations: 8.656 kB / 431.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.2755, allocations: 23.38 kB / 431.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2755, allocations: 0 / 431.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3063, allocations: 2.164 MB / 433.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.76, allocations: 6.859 kB / 433.4 MB, free: 3.469 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.168966298922896]