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.001257/0.001257, 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.001367/0.001367, allocations: 211.4 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.381/1.381, 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.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.001566/0.001566, allocations: 47.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002709/0.2516, allocations: 1.448 MB / 432.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.2518, allocations: 27.92 kB / 432.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.2519, allocations: 7.938 kB / 432.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.2519, allocations: 3.984 kB / 432.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.2519, allocations: 3.938 kB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2522, allocations: 19.97 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.2523, allocations: 27.92 kB / 432.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.2524, allocations: 7.797 kB / 432.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.2524, allocations: 11.94 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2524, allocations: 19.92 kB / 432.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2525, allocations: 7.938 kB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.2525, allocations: 0 / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.2525, allocations: 11.98 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.2525, allocations: 11.92 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.2526, allocations: 23.91 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2526, allocations: 0 / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2526, allocations: 0 / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2526, allocations: 0 / 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.0004133/0.253, allocations: 268.2 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2531, allocations: 8.031 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.2531, allocations: 34.75 kB / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.2531, allocations: 4.938 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2533, allocations: 130.4 kB / 433.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2534, allocations: 384 / 433.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2534, allocations: 4.375 kB / 433.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2537, allocations: 115.8 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2537, allocations: 7.938 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2537, allocations: 8 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2537, allocations: 0 / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.2538, allocations: 19.97 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.2539, allocations: 120.8 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2541, allocations: 54.48 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.2542, allocations: 24.92 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.2542, allocations: 0 / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2542, allocations: 30.56 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2542, allocations: 0 / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.2544, allocations: 77.75 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.2545, allocations: 71.31 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.2546, allocations: 101.9 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2546, allocations: 25.7 kB / 433.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.2546, allocations: 84.14 kB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2546, allocations: 7.984 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.2547, allocations: 13.72 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2548, allocations: 318.8 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.2548, allocations: 256 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.2548, allocations: 39.42 kB / 434.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.2549, allocations: 39.38 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2549, allocations: 0 / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.586e-05/0.255, allocations: 65.58 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.255, allocations: 7.938 kB / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.255, allocations: 0 / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.255, allocations: 7.938 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/0.2551, allocations: 7.938 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2551, allocations: 0 / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.2551, allocations: 8.062 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2551, allocations: 7.984 kB / 434.4 MB, free: 3.105 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 8.038e-05/0.2552, allocations: 117.8 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.2553, allocations: 57.62 kB / 434.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.2554, allocations: 11.67 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2554, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2554, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2554, allocations: 4 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2555, allocations: 120.8 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2555, allocations: 3.938 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.2555, allocations: 8 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2555, allocations: 7.938 kB / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2555, allocations: 0 / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2555, allocations: 0 / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2555, allocations: 0 / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2557, allocations: 89.06 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.2557, allocations: 3.984 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2557, allocations: 3.938 kB / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.2558, allocations: 4 kB / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.2558, allocations: 0 / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2558, allocations: 0 / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.2558, allocations: 91.41 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2558, allocations: 4 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.256, allocations: 0 / 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.0005285/0.2565, allocations: 0.6514 MB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2567, allocations: 27.92 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2567, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2567, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.2569, allocations: 30.94 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.2578, allocations: 1.174 MB / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.2579, allocations: 67.33 kB / 436.8 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.387e-05/0.2579, allocations: 4 kB / 436.8 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.2579, allocations: 15.38 kB / 436.9 MB, free: 404 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2579, allocations: 0 / 436.9 MB, free: 404 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.2846, allocations: 1.832 MB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.58, allocations: 4.062 kB / 438.7 MB, free: 14.68 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: 12.83709030499449]