Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001967/0.001967, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002757/0.002757, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.589/1.589, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 63.89 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2696, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002711/0.2723, allocations: 1.452 MB / 432.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.2726, allocations: 99.62 kB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.2727, allocations: 0 / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2727, allocations: 7.938 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.593e-05/0.2727, allocations: 3.938 kB / 432.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.273, allocations: 27.09 kB / 432.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.2731, allocations: 23.92 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.2731, allocations: 4 kB / 432.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.2732, allocations: 19.91 kB / 432.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.2732, allocations: 7.938 kB / 432.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2732, allocations: 0 / 432.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.2732, allocations: 4 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2733, allocations: 8 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.2733, allocations: 15.94 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.2734, allocations: 37.45 kB / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2734, allocations: 0 / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2734, allocations: 0 / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2734, allocations: 0 / 432.8 MB, free: 4.734 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.0004606/0.2739, allocations: 270.3 kB / 433.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2739, allocations: 11.98 kB / 433.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.2739, allocations: 30.75 kB / 433.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.274, allocations: 8.891 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2742, allocations: 126.5 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2742, allocations: 4.375 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.2742, allocations: 384 / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.2745, allocations: 107.9 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2746, allocations: 3.938 kB / 433.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2746, allocations: 0 / 433.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2746, allocations: 11.88 kB / 433.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.2746, allocations: 15.98 kB / 433.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2748, allocations: 128.7 kB / 433.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.2749, allocations: 54.55 kB / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.275, allocations: 16.89 kB / 433.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.275, allocations: 4.031 kB / 433.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.275, allocations: 42.56 kB / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.275, allocations: 0 / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.2753, allocations: 73.55 kB / 433.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2753, allocations: 59.41 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.2754, allocations: 101.8 kB / 433.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2754, allocations: 29.7 kB / 433.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2755, allocations: 84.14 kB / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.2755, allocations: 0 / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2755, allocations: 13.72 kB / 434 MB, free: 3.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2756, allocations: 322.8 kB / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.2757, allocations: 0 / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.2757, allocations: 27.44 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.2757, allocations: 39.38 kB / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2757, allocations: 0 / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.2758, allocations: 61.52 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2758, allocations: 11.94 kB / 434.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2758, allocations: 3.938 kB / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2759, allocations: 0 / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.2759, allocations: 16.11 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2759, allocations: 0 / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2759, allocations: 0 / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2759, allocations: 4 kB / 434.5 MB, free: 2.859 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.353e-05/0.276, allocations: 113.8 kB / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2761, allocations: 57.84 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.2762, allocations: 11.98 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2762, allocations: 8.031 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2762, allocations: 0 / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2762, allocations: 0 / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.698e-05/0.2763, allocations: 128.8 kB / 434.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2763, allocations: 0 / 434.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.2763, allocations: 8 kB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2763, allocations: 3.938 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2763, allocations: 0 / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2763, allocations: 0 / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2763, allocations: 0 / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2765, allocations: 93 kB / 434.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.2765, allocations: 7.875 kB / 434.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2765, allocations: 4.188 kB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.2765, allocations: 15.98 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.2765, allocations: 0 / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2765, allocations: 0 / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.2766, allocations: 83.28 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2766, allocations: 0 / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.2768, allocations: 4 kB / 435 MB, free: 2.246 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.0004574/0.2772, allocations: 0.6202 MB / 435.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2773, allocations: 32.05 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2773, allocations: 0 / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.2773, allocations: 0 / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2776, allocations: 26.67 kB / 435.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2786, allocations: 1.15 MB / 436.8 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.2786, allocations: 63.34 kB / 436.9 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.2786, allocations: 4 kB / 436.9 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.2787, allocations: 15.56 kB / 436.9 MB, free: 196 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2787, allocations: 0 / 436.9 MB, free: 196 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3058, allocations: 1.745 MB / 438.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.26, allocations: 0 / 438.7 MB, free: 14.55 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock1.period,step.startTime,assignClock1.u,assignClock1.y,step.y [Calling sys.exit(0), Time elapsed: 13.978872952982783]