Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001277/0.001277, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00151/0.00151, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 377.7 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2642, allocations: 53.37 MB / 431.1 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002982/0.2672, allocations: 1.456 MB / 432.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.2675, allocations: 99.62 kB / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.2675, allocations: 0 / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2676, allocations: 3.938 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.2676, allocations: 7.875 kB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2678, allocations: 23.97 kB / 432.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.2679, allocations: 23.92 kB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.268, allocations: 8 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.268, allocations: 19.91 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.2681, allocations: 7.938 kB / 432.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2681, allocations: 4 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-06/0.2681, allocations: 0 / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.2681, allocations: 8 kB / 432.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.2681, allocations: 7.922 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.668e-05/0.2682, allocations: 36.77 kB / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2682, allocations: 0 / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2682, allocations: 0 / 432.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2682, allocations: 0 / 432.8 MB, free: 4.98 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.0004054/0.2686, allocations: 273.7 kB / 433 MB, free: 4.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2687, allocations: 8.031 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.2687, allocations: 38.75 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2688, allocations: 4.891 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.269, allocations: 118.5 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.269, allocations: 4.375 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.269, allocations: 4.375 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.2693, allocations: 107.9 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2693, allocations: 3.938 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.2693, allocations: 0 / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2693, allocations: 0 / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.2694, allocations: 23.92 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2696, allocations: 128.7 kB / 433.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2697, allocations: 50.55 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.2698, allocations: 24.89 kB / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2698, allocations: 4.031 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2698, allocations: 30.56 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2698, allocations: 0 / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.27, allocations: 73.55 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2701, allocations: 55.41 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.2702, allocations: 113.8 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2702, allocations: 25.7 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.2702, allocations: 80.14 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.2703, allocations: 8 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2703, allocations: 13.72 kB / 433.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2704, allocations: 322.8 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.2704, allocations: 0 / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.2705, allocations: 31.38 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.2705, allocations: 31.38 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2705, allocations: 4 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001111/0.2706, allocations: 69.45 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2706, allocations: 7.938 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2707, allocations: 0 / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2707, allocations: 4.281 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.2707, allocations: 7.984 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2707, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2707, allocations: 8 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.2707, allocations: 0 / 434.4 MB, free: 3.113 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.825e-05/0.2708, allocations: 110 kB / 434.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.271, allocations: 73.55 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.271, allocations: 7.984 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.271, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.271, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.271, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.2711, allocations: 124.8 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2711, allocations: 0 / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.2711, allocations: 8 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2712, allocations: 3.938 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.2712, allocations: 0 / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2712, allocations: 4 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2712, allocations: 4 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.2713, allocations: 89 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.2713, allocations: 3.938 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2713, allocations: 11.94 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.2714, allocations: 4.234 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-06/0.2714, allocations: 0 / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2714, allocations: 4 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.2714, allocations: 83.28 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2714, allocations: 0 / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.2716, allocations: 12 kB / 435 MB, free: 2.496 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.000471/0.2721, allocations: 0.6202 MB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2722, allocations: 27.92 kB / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2722, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2722, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.2724, allocations: 21.89 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2735, allocations: 1.162 MB / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.2735, allocations: 63.34 kB / 436.8 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.2735, allocations: 0 / 436.8 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2736, allocations: 15.44 kB / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2736, allocations: 0 / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3013, allocations: 1.749 MB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.9, allocations: 4.062 kB / 438.6 MB, free: 14.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.201011445373297]