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.001462/0.001462, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001342/0.001342, allocations: 206.8 kB / 23.73 MB, free: 4.523 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.397/1.397, 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.001511/0.001511, allocations: 47.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.268, allocations: 53.36 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00267/0.2707, allocations: 1.46 MB / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002724/0.271, allocations: 103.6 kB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.271, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.271, allocations: 7.938 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.2711, allocations: 0 / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2713, allocations: 23.91 kB / 432.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.2714, allocations: 27.88 kB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.2715, allocations: 11.98 kB / 432.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.2715, allocations: 4 kB / 432.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.2715, allocations: 11.92 kB / 432.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2716, allocations: 7.938 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.2716, allocations: 0 / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2716, allocations: 8 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.2716, allocations: 15.86 kB / 432.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.2717, allocations: 29.59 kB / 432.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2717, allocations: 0 / 432.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2717, allocations: 4 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2717, allocations: 0 / 432.8 MB, free: 4.961 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.0003554/0.2721, allocations: 266.3 kB / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2721, allocations: 8.031 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.2721, allocations: 38.75 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.2721, allocations: 4.891 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2723, allocations: 122.4 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2723, allocations: 4.375 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2724, allocations: 8.375 kB / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2726, allocations: 103.9 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2726, allocations: 7.922 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.2727, allocations: 0 / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2727, allocations: 0 / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.2727, allocations: 27.92 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.2729, allocations: 124.7 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.273, allocations: 54.48 kB / 433.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.2731, allocations: 24.92 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2731, allocations: 0 / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2731, allocations: 30.56 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.935e-06/0.2731, allocations: 3.984 kB / 433.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.2733, allocations: 73.61 kB / 433.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2734, allocations: 63.33 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.2734, allocations: 101.9 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2735, allocations: 29.7 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.2735, allocations: 88.12 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.2735, allocations: 0 / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2735, allocations: 17.72 kB / 434 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2737, allocations: 314.8 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.2737, allocations: 7.984 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.2737, allocations: 23.44 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.2738, allocations: 39.62 kB / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2738, allocations: 0 / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.99e-05/0.2738, allocations: 61.58 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2738, allocations: 7.938 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2739, allocations: 0 / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2739, allocations: 4 kB / 434.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.2739, allocations: 7.938 kB / 434.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2739, allocations: 4.125 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.2739, allocations: 7.938 kB / 434.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2739, allocations: 4 kB / 434.4 MB, free: 3.086 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 7.953e-05/0.274, allocations: 113.8 kB / 434.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2741, allocations: 61.62 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.2742, allocations: 4 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2742, allocations: 0 / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2742, allocations: 0 / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2742, allocations: 3.984 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.2743, allocations: 120.8 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2743, allocations: 8 kB / 434.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.2743, allocations: 11.92 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2743, allocations: 7.875 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2743, allocations: 4 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2743, allocations: 0 / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2743, allocations: 0 / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2744, allocations: 85.06 kB / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.2745, allocations: 7.938 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2745, allocations: 3.938 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.2745, allocations: 4 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.2745, allocations: 4 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.2745, allocations: 4 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.2745, allocations: 83.27 kB / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2745, allocations: 0 / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.2747, allocations: 8 kB / 435 MB, free: 2.477 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.0004256/0.2752, allocations: 0.6242 MB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2753, allocations: 28.34 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2753, allocations: 4.25 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2753, allocations: 0 / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.2755, allocations: 24.81 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.2764, allocations: 1.154 MB / 436.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.2764, allocations: 67.33 kB / 436.9 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.917e-06/0.2764, allocations: 0 / 436.9 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2765, allocations: 15.44 kB / 436.9 MB, free: 428 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2765, allocations: 4 kB / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.3015, allocations: 1.755 MB / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.49, allocations: 7.203 kB / 438.6 MB, free: 14.78 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: 12.793019604025176]