Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.00156/0.00156, 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.002078/0.002078, allocations: 213.5 kB / 23.72 MB, free: 4.531 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 53.35 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002887/0.2617, allocations: 1.608 MB / 432.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2628, allocations: 0.5298 MB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.2628, allocations: 4 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.2629, allocations: 7.875 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.263, allocations: 11.92 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.2633, allocations: 67.73 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2634, allocations: 47.8 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.2635, allocations: 12.17 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2636, allocations: 31.91 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.2637, allocations: 23.86 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2637, allocations: 4 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.2638, allocations: 4 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.2638, allocations: 15.94 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.2638, allocations: 19.86 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.264, allocations: 67.05 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.264, allocations: 0 / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.264, allocations: 0 / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.264, allocations: 0 / 433.5 MB, free: 4.195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004827/0.2645, allocations: 314.9 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2645, allocations: 8.031 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.2645, allocations: 34.75 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2647, allocations: 20.88 kB / 433.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.265, allocations: 142.9 kB / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.265, allocations: 8.125 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.265, allocations: 4 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.2652, allocations: 109.9 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2653, allocations: 3.938 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2653, allocations: 8 kB / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2653, allocations: 0 / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.2653, allocations: 19.98 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.2657, allocations: 245.6 kB / 434.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2658, allocations: 71.77 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.2658, allocations: 30.64 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2659, allocations: 3.938 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2659, allocations: 42.55 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2659, allocations: 0 / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002616/0.2661, allocations: 89.45 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.2662, allocations: 106.8 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2664, allocations: 152.7 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2664, allocations: 29.7 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.2664, allocations: 92.12 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.2664, allocations: 384 / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.2665, allocations: 21.67 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2666, allocations: 326.8 kB / 435.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.2667, allocations: 7.984 kB / 435.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.2667, allocations: 35.38 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.2668, allocations: 47.36 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2668, allocations: 0 / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00014/0.2669, allocations: 77.55 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.267, allocations: 4 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.267, allocations: 0 / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.267, allocations: 4 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.2671, allocations: 15.98 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2671, allocations: 3.938 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.2671, allocations: 4 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2671, allocations: 0 / 435.6 MB, free: 1.883 MB / 334.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.614e-05/0.2672, allocations: 126 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2673, allocations: 53.55 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.2673, allocations: 15.95 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2673, allocations: 0 / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2673, allocations: 7.938 kB / 435.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2673, allocations: 0 / 435.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2675, allocations: 140.7 kB / 435.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2675, allocations: 3.984 kB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.2676, allocations: 8 kB / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2676, allocations: 0 / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2676, allocations: 4.062 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2676, allocations: 4 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2676, allocations: 3.938 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.2678, allocations: 177.1 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2678, allocations: 15.94 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2678, allocations: 0 / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.2679, allocations: 11.98 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.2679, allocations: 3.938 kB / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2679, allocations: 4 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.268, allocations: 115.2 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.268, allocations: 4 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2682, allocations: 4 kB / 436.3 MB, free: 1.109 MB / 334.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 (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.0004757/0.2687, allocations: 0.7063 MB / 437 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2688, allocations: 35.91 kB / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2688, allocations: 0 / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.2689, allocations: 16.19 kB / 437 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2692, allocations: 26.77 kB / 437 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2707, allocations: 1.399 MB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.972e-05/0.2707, allocations: 83.5 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2708, allocations: 12.03 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.2708, allocations: 15.44 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2708, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.2989, allocations: 2.277 MB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.79, allocations: 7.938 kB / 440.8 MB, free: 12.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.132776090002153]