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.001345/0.001345, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001349/0.001349, allocations: 192.8 kB / 23.71 MB, free: 4.406 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.374/1.374, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.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 0.001497/0.001497, allocations: 51.91 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2651, allocations: 52.17 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002673/0.2678, allocations: 1.45 MB / 424 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.2681, allocations: 95.69 kB / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.2681, allocations: 0 / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.2682, allocations: 0 / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.967e-05/0.2682, allocations: 7.875 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2684, allocations: 26.91 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.2685, allocations: 23.94 kB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.2686, allocations: 19.92 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.2686, allocations: 11.98 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.2687, allocations: 7.922 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2687, allocations: 4 kB / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.2687, allocations: 0 / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.2687, allocations: 11.94 kB / 424.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.2687, allocations: 7.938 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.2688, allocations: 25.59 kB / 424.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2688, allocations: 0 / 424.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2688, allocations: 0 / 424.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2688, allocations: 8 kB / 424.3 MB, free: 12.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003929/0.2692, allocations: 274.2 kB / 424.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2693, allocations: 8.031 kB / 424.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.2693, allocations: 38.75 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.2693, allocations: 0.9375 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2695, allocations: 126.4 kB / 424.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-06/0.2695, allocations: 384 / 424.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2695, allocations: 8.375 kB / 424.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.2698, allocations: 107.9 kB / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2698, allocations: 7.922 kB / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.2698, allocations: 0 / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2698, allocations: 0 / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.2699, allocations: 19.98 kB / 424.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.2701, allocations: 128.7 kB / 425 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.2702, allocations: 50.5 kB / 425 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.2703, allocations: 28.92 kB / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2703, allocations: 0 / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2703, allocations: 30.56 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2703, allocations: 0 / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002083/0.2705, allocations: 77.56 kB / 425.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2706, allocations: 59.33 kB / 425.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.2707, allocations: 105.8 kB / 425.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2707, allocations: 29.7 kB / 425.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.2707, allocations: 84.12 kB / 425.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.2707, allocations: 8 kB / 425.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.2708, allocations: 17.72 kB / 425.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2709, allocations: 310.8 kB / 425.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.2709, allocations: 11.98 kB / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.2709, allocations: 27.38 kB / 425.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.271, allocations: 35.38 kB / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.271, allocations: 0 / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.668e-05/0.2711, allocations: 57.62 kB / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2711, allocations: 7.938 kB / 425.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2711, allocations: 256 / 425.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2711, allocations: 4 kB / 425.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.2711, allocations: 11.94 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2712, allocations: 4 kB / 425.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.2712, allocations: 0 / 425.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.2712, allocations: 0 / 425.9 MB, free: 10.81 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.174e-05/0.2713, allocations: 118 kB / 426 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2714, allocations: 69.58 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.2714, allocations: 4 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2714, allocations: 0 / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2714, allocations: 0 / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2714, allocations: 3.984 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.386e-05/0.2715, allocations: 120.8 kB / 426.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2715, allocations: 4 kB / 426.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.2716, allocations: 11.92 kB / 426.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2716, allocations: 3.938 kB / 426.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2716, allocations: 4 kB / 426.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2716, allocations: 4 kB / 426.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2716, allocations: 0 / 426.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2717, allocations: 81.44 kB / 426.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.2717, allocations: 7.891 kB / 426.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2717, allocations: 7.984 kB / 426.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.2718, allocations: 7.984 kB / 426.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.2718, allocations: 0 / 426.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2718, allocations: 7.938 kB / 426.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.2718, allocations: 83.27 kB / 426.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2718, allocations: 0 / 426.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.272, allocations: 12 kB / 426.4 MB, free: 10.19 MB / 334.1 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.0004438/0.2724, allocations: 0.6202 MB / 427.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2726, allocations: 27.92 kB / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2726, allocations: 0 / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2726, allocations: 0 / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.2728, allocations: 23.97 kB / 427.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.2737, allocations: 1.154 MB / 428.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.2738, allocations: 71.19 kB / 428.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.2738, allocations: 0 / 428.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.2738, allocations: 15.44 kB / 428.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2738, allocations: 0 / 428.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.3002, allocations: 1.73 MB / 430.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.59, allocations: 6.297 kB / 430.1 MB, free: 6.527 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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: 12.888592032715678]