Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001369/0.001369, allocations: 80.06 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001595/0.001595, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9089/0.9089, allocations: 173.4 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 318.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/2.014e-05, allocations: 2.281 kB / 318.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001883/0.001903, allocations: 1.431 MB / 319.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.002122, allocations: 103.6 kB / 320 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.002178, allocations: 7.938 kB / 320 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.002203, allocations: 3.938 kB / 320 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.128e-05/0.002234, allocations: 0 / 320 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.002446, allocations: 31.84 kB / 320 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.002519, allocations: 31.86 kB / 320 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.002603, allocations: 0 / 320 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.002641, allocations: 15.98 kB / 320 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.002673, allocations: 7.984 kB / 320 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.002694, allocations: 0 / 320 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.002705, allocations: 4 kB / 320.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002723, allocations: 11.92 kB / 320.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.002743, allocations: 12 kB / 320.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.356e-05/0.002817, allocations: 23.91 kB / 320.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00282, allocations: 0 / 320.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.002821, allocations: 0 / 320.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.002826, allocations: 0 / 320.1 MB, free: 4.562 MB / 282.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.000326/0.003152, allocations: 273.5 kB / 320.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.003193, allocations: 12.92 kB / 320.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.00322, allocations: 34.75 kB / 320.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.003242, allocations: 4.938 kB / 320.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.003397, allocations: 121.7 kB / 320.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003406, allocations: 12.36 kB / 320.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.003413, allocations: 384 / 320.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.003635, allocations: 103.9 kB / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003641, allocations: 192 / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003649, allocations: 384 / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003656, allocations: 4.125 kB / 320.7 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.003704, allocations: 23.97 kB / 320.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.003805, allocations: 124.8 kB / 320.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.003906, allocations: 58.52 kB / 320.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.003941, allocations: 20.89 kB / 320.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.003956, allocations: 0 / 320.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.003974, allocations: 34.56 kB / 320.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.003975, allocations: 0 / 320.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.004125, allocations: 73.56 kB / 321 MB, free: 3.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.004162, allocations: 67.33 kB / 321 MB, free: 3.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.004218, allocations: 101.9 kB / 321.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004227, allocations: 25.7 kB / 321.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.004257, allocations: 92.12 kB / 321.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.004259, allocations: 0 / 321.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.004276, allocations: 9.719 kB / 321.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.004348, allocations: 318.8 kB / 321.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.004352, allocations: 0 / 321.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.004355, allocations: 0 / 321.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.912e-05/0.004374, allocations: 79.22 kB / 321.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.004391, allocations: 75.28 kB / 321.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.203e-05/0.004423, allocations: 37.64 kB / 321.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.004448, allocations: 79.28 kB / 321.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.004468, allocations: 83.45 kB / 321.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.173e-05/0.00451, allocations: 154.6 kB / 322.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.233e-05/0.004532, allocations: 83.16 kB / 322.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/0.004566, allocations: 150.6 kB / 322.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.004612, allocations: 87.2 kB / 322.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.004628, allocations: 75.28 kB / 322.5 MB, free: 1.988 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.694e-05/0.004695, allocations: 189.1 kB / 322.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.004767, allocations: 61.62 kB / 322.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.004792, allocations: 8 kB / 322.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.004795, allocations: 4 kB / 322.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.004799, allocations: 3.938 kB / 322.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004802, allocations: 256 / 322.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.523e-05/0.004857, allocations: 124.7 kB / 322.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.004861, allocations: 4 kB / 322.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.004922, allocations: 15.98 kB / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.004924, allocations: 0 / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.004929, allocations: 0 / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.004932, allocations: 0 / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004933, allocations: 7.938 kB / 322.9 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.466e-05/0.005008, allocations: 77.11 kB / 323 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.005015, allocations: 11.95 kB / 323 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.005024, allocations: 0 / 323 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.005035, allocations: 4 kB / 323 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.005038, allocations: 3.938 kB / 323 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.005043, allocations: 0 / 323 MB, free: 1.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.005069, allocations: 83.27 kB / 323.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005069, allocations: 0 / 323.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.005206, allocations: 8 kB / 323.1 MB, free: 1.309 MB / 282.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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0002428/0.005449, allocations: 0.6163 MB / 323.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.005506, allocations: 11.98 kB / 323.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.005508, allocations: 4 kB / 323.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-07/0.005508, allocations: 0 / 323.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.005682, allocations: 27.84 kB / 323.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.006406, allocations: 1.371 MB / 325.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.006448, allocations: 71.34 kB / 325.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.651e-05/0.006465, allocations: 11.94 kB / 325.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.006504, allocations: 8.5 kB / 325.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006505, allocations: 0 / 325.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02226, allocations: 1.818 MB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.9, allocations: 15.78 kB / 327 MB, free: 13.35 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.62624359689653]