Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0008688/0.0008688, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008629/0.0008629, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8847/0.8847, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.007e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002032/0.002052, allocations: 1.479 MB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.002251, allocations: 31.91 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.002312, allocations: 3.938 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.002344, allocations: 0 / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.002387, allocations: 7.922 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.002635, allocations: 23.97 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.002722, allocations: 27.94 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.002828, allocations: 7.984 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.002884, allocations: 23.92 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.002926, allocations: 7.984 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.002952, allocations: 4 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.00296, allocations: 0 / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.002982, allocations: 11.98 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.003014, allocations: 3.938 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.003109, allocations: 35.88 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003111, allocations: 3.938 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.003113, allocations: 0 / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.003118, allocations: 0 / 326.2 MB, free: 14.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004033/0.003521, allocations: 278.2 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.00357, allocations: 15.98 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.003605, allocations: 30.75 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.003634, allocations: 8.891 kB / 326.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.003841, allocations: 113.8 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.00387, allocations: 4.375 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.003883, allocations: 4.375 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.004166, allocations: 123.8 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004174, allocations: 4.188 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004185, allocations: 384 / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.004192, allocations: 4.125 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.004272, allocations: 31.89 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.004388, allocations: 128.7 kB / 326.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.004497, allocations: 54.55 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.004546, allocations: 24.92 kB / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-06/0.004555, allocations: 0 / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004575, allocations: 30.56 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004576, allocations: 4 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.004772, allocations: 81.59 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.004825, allocations: 63.34 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.004886, allocations: 109.8 kB / 327.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.004897, allocations: 25.7 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.004928, allocations: 80.14 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.00494, allocations: 4 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.004962, allocations: 17.7 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.005048, allocations: 310.8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.005058, allocations: 8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.005063, allocations: 3.938 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.005084, allocations: 16.86 kB / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005086, allocations: 0 / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.896e-05/0.005125, allocations: 45.64 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.005138, allocations: 8 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005142, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.005154, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.005207, allocations: 7.938 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005212, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-06/0.005219, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.005223, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.617e-05/0.005279, allocations: 117.9 kB / 327.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.005352, allocations: 61.61 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.005376, allocations: 15.98 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005377, allocations: 0 / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.005382, allocations: 3.938 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005385, allocations: 0 / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.67e-05/0.005442, allocations: 124.8 kB / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.005443, allocations: 0 / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.00547, allocations: 12 kB / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005471, allocations: 0 / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.005477, allocations: 0 / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005478, allocations: 11.94 kB / 328.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00548, allocations: 3.938 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.005571, allocations: 97.22 kB / 328.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005577, allocations: 0 / 328.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.005588, allocations: 4 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.005601, allocations: 4.281 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-06/0.005607, allocations: 11.92 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005612, allocations: 4 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.00564, allocations: 83.28 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00564, allocations: 0 / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000113/0.005753, allocations: 7.938 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005902/0.006343, allocations: 0.6437 MB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.002e-05/0.006423, allocations: 23.92 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006424, allocations: 0 / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.006425, allocations: 4 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.006619, allocations: 27.86 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.007269, allocations: 1.114 MB / 330.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.00731, allocations: 71.48 kB / 330.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.007331, allocations: 4 kB / 330.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.00737, allocations: 12.5 kB / 330.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00737, allocations: 0 / 330.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02104, allocations: 1.995 MB / 332.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/6.534, allocations: 14.62 kB / 332.3 MB, free: 7.836 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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: 8.172536838799715]