Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.91 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 53.39 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002747/0.2664, allocations: 1.573 MB / 432.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.2667, allocations: 143.5 kB / 432.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.2668, allocations: 3.938 kB / 432.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.2668, allocations: 3.938 kB / 432.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.267, allocations: 11.92 kB / 432.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2672, allocations: 39.41 kB / 433 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.2673, allocations: 31.86 kB / 433 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2674, allocations: 19.97 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.2674, allocations: 11.94 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.2675, allocations: 19.92 kB / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2675, allocations: 0 / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.2675, allocations: 4 kB / 433 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.2676, allocations: 15.88 kB / 433.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.2676, allocations: 27.8 kB / 433.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2677, allocations: 43.19 kB / 433.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2677, allocations: 4 kB / 433.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2677, allocations: 0 / 433.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.2677, allocations: 0 / 433.1 MB, free: 4.727 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004629/0.2682, allocations: 303 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2682, allocations: 12.03 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.2683, allocations: 30.75 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2683, allocations: 8.891 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2685, allocations: 141.2 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-06/0.2685, allocations: 384 / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2686, allocations: 8.375 kB / 433.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2688, allocations: 117.6 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2689, allocations: 7.875 kB / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2689, allocations: 0 / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2689, allocations: 0 / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.2689, allocations: 19.98 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.2693, allocations: 236.8 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.2695, allocations: 65.08 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.2695, allocations: 25.77 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2696, allocations: 8 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2696, allocations: 34.5 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2696, allocations: 0 / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002541/0.2698, allocations: 73.62 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2699, allocations: 85.05 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.27, allocations: 130.1 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2701, allocations: 33.83 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2701, allocations: 84.12 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2701, allocations: 7.953 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2702, allocations: 17.72 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2703, allocations: 314.8 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.2704, allocations: 7.984 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.2704, allocations: 39.61 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.2705, allocations: 43.36 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2705, allocations: 3.938 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001238/0.2707, allocations: 69.66 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2707, allocations: 4 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2707, allocations: 0 / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2707, allocations: 7.984 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.2708, allocations: 15.92 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2708, allocations: 0 / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.2708, allocations: 7.953 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2708, allocations: 0 / 435.1 MB, free: 2.551 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 0.0001068/0.2709, allocations: 125.9 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.271, allocations: 49.64 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.271, allocations: 12.33 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.271, allocations: 0 / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.271, allocations: 0 / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.271, allocations: 4 kB / 435.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.2712, allocations: 144.6 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2712, allocations: 0 / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.2713, allocations: 11.94 kB / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2713, allocations: 0 / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.2713, allocations: 0 / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2713, allocations: 8 kB / 435.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2713, allocations: 0 / 435.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.2715, allocations: 164.3 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.2715, allocations: 19.88 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2715, allocations: 0 / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.2716, allocations: 4 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.2716, allocations: 8 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2716, allocations: 4 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.2717, allocations: 110.4 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2717, allocations: 0 / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.2719, allocations: 8 kB / 435.7 MB, free: 1.809 MB / 334.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.0005244/0.2724, allocations: 0.6937 MB / 436.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.2726, allocations: 31.91 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2726, allocations: 4 kB / 436.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.2726, allocations: 8 kB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.273, allocations: 29.05 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2743, allocations: 1.322 MB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.2746, allocations: 0.6963 MB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.2747, allocations: 4 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.2747, allocations: 15.84 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2747, allocations: 0 / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.3024, allocations: 1.583 MB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.89, allocations: 26.88 kB / 440.1 MB, free: 13.35 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.228296566056088]