Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 43.92 kB / 370.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2573, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002665/0.26, allocations: 1.424 MB / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.2602, allocations: 35.91 kB / 424.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.2602, allocations: 0 / 424.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.2603, allocations: 3.938 kB / 424.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.2603, allocations: 11.88 kB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2606, allocations: 19.98 kB / 424.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.2607, allocations: 23.98 kB / 424.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2608, allocations: 11.98 kB / 424.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.2608, allocations: 15.92 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.2609, allocations: 11.94 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2609, allocations: 0 / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2609, allocations: 7.938 kB / 424.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.2609, allocations: 3.984 kB / 424.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.261, allocations: 11.94 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.899e-05/0.2611, allocations: 39.62 kB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2611, allocations: 4 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2611, allocations: 0 / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2611, allocations: 0 / 424.3 MB, free: 12.96 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.0003854/0.2615, allocations: 266.9 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2615, allocations: 8.031 kB / 424.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.2616, allocations: 34.75 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.2616, allocations: 0.9375 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2618, allocations: 126.4 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2619, allocations: 4.375 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2619, allocations: 8.375 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.2622, allocations: 115.8 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2623, allocations: 3.938 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2623, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2623, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2624, allocations: 23.97 kB / 424.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.2626, allocations: 128.8 kB / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2627, allocations: 54.53 kB / 425 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.2628, allocations: 24.92 kB / 425 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.2628, allocations: 0 / 425 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2628, allocations: 34.5 kB / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2628, allocations: 0 / 425.1 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002561/0.2631, allocations: 77.61 kB / 425.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.2632, allocations: 55.41 kB / 425.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2633, allocations: 105.8 kB / 425.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2633, allocations: 25.7 kB / 425.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.2633, allocations: 84.12 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2633, allocations: 11.89 kB / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2634, allocations: 21.7 kB / 425.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2635, allocations: 314.8 kB / 425.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.2635, allocations: 8 kB / 425.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.2636, allocations: 39.3 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.2636, allocations: 35.38 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2636, allocations: 4 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.632e-05/0.2637, allocations: 57.62 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2637, allocations: 7.938 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2637, allocations: 4 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2637, allocations: 0 / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.2638, allocations: 8 kB / 425.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2638, allocations: 0 / 425.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.2638, allocations: 4 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.2638, allocations: 128 / 425.9 MB, free: 11.07 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.914e-05/0.2639, allocations: 121.8 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2641, allocations: 65.56 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.2641, allocations: 7.688 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2641, allocations: 3.984 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2641, allocations: 0 / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2641, allocations: 4 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2642, allocations: 124.8 kB / 426.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2642, allocations: 0 / 426.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.2642, allocations: 384 / 426.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2642, allocations: 15.92 kB / 426.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2643, allocations: 4 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2643, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2643, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2644, allocations: 85.05 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.2644, allocations: 8.234 kB / 426.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2645, allocations: 7.875 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.2645, allocations: 4 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.2645, allocations: 7.984 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2645, allocations: 3.984 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.2646, allocations: 83.28 kB / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2646, allocations: 0 / 426.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.2647, allocations: 4 kB / 426.5 MB, free: 10.45 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.0006373/0.2654, allocations: 0.6436 MB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.2655, allocations: 27.98 kB / 427.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2655, allocations: 0 / 427.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.2655, allocations: 7.875 kB / 427.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2658, allocations: 23.97 kB / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2669, allocations: 1.166 MB / 428.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2672, allocations: 0.6916 MB / 429 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.2672, allocations: 0 / 429 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2673, allocations: 15.44 kB / 429 MB, free: 7.723 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2673, allocations: 0 / 429 MB, free: 7.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.2942, allocations: 1.424 MB / 430.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.76, allocations: 6.984 kB / 430.5 MB, free: 6.422 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.041516804136336]