Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001262/0.001262, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001471/0.001471, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 43.94 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2619, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003211/0.2651, allocations: 1.433 MB / 432.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.2653, allocations: 35.84 kB / 432.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.2654, allocations: 4 kB / 432.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.2654, allocations: 3.938 kB / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.2655, allocations: 0 / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.2657, allocations: 23.92 kB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.953e-05/0.2658, allocations: 31.84 kB / 432.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.2659, allocations: 19.78 kB / 432.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.266, allocations: 8 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.266, allocations: 11.92 kB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.266, allocations: 4 kB / 432.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.266, allocations: 4 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.266, allocations: 7.938 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.2661, allocations: 11.94 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.2662, allocations: 27.83 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2662, allocations: 0 / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2662, allocations: 0 / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2662, allocations: 7.922 kB / 432.7 MB, free: 5.008 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.0004167/0.2666, allocations: 268.2 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2666, allocations: 8.031 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.2667, allocations: 34.75 kB / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.2667, allocations: 4.922 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.2669, allocations: 122.4 kB / 433.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.267, allocations: 384 / 433.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.267, allocations: 4.375 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.2673, allocations: 119.8 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2673, allocations: 7.938 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2673, allocations: 0 / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2673, allocations: 0 / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.2674, allocations: 23.92 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2676, allocations: 124.8 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.2677, allocations: 46.56 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.2678, allocations: 24.92 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2678, allocations: 0 / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2678, allocations: 34.5 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2678, allocations: 0 / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002683/0.2681, allocations: 89.48 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.2681, allocations: 59.41 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.2682, allocations: 105.8 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2683, allocations: 25.7 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.2683, allocations: 80.14 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2683, allocations: 0 / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.2684, allocations: 17.72 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2686, allocations: 322.8 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2686, allocations: 256 / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.2686, allocations: 35.44 kB / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.2687, allocations: 43.36 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2687, allocations: 0 / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.2688, allocations: 61.53 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2688, allocations: 11.92 kB / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2688, allocations: 4 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2688, allocations: 192 / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.2689, allocations: 8.125 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2689, allocations: 4 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.2689, allocations: 4 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2689, allocations: 3.938 kB / 434.4 MB, free: 3.121 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.672e-05/0.269, allocations: 113.8 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2692, allocations: 69.55 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.2692, allocations: 7.688 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2692, allocations: 0 / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2692, allocations: 4 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2692, allocations: 0 / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2693, allocations: 124.8 kB / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2693, allocations: 3.938 kB / 434.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.2693, allocations: 7.984 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2694, allocations: 3.938 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2694, allocations: 4 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2694, allocations: 0 / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2694, allocations: 0 / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.2696, allocations: 93 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.2696, allocations: 0 / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2696, allocations: 7.938 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.2696, allocations: 0 / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.2696, allocations: 4 kB / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2696, allocations: 7.984 kB / 434.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.2697, allocations: 87.41 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2697, allocations: 0 / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.2699, allocations: 4 kB / 434.9 MB, free: 2.508 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.000604/0.2705, allocations: 0.6436 MB / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.2706, allocations: 27.92 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2706, allocations: 0 / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.2706, allocations: 4.312 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2709, allocations: 27.95 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.001149/0.2721, allocations: 1.166 MB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.872e-05/0.2721, allocations: 63.34 kB / 436.8 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.967e-05/0.2721, allocations: 4 kB / 436.8 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2722, allocations: 7.438 kB / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2722, allocations: 0 / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.3065, allocations: 1.821 MB / 438.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.81, allocations: 10.64 kB / 438.7 MB, free: 14.71 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.168804454151541]