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.001245/0.001245, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001548/0.001548, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.358/1.358, allocations: 225.6 MB / 253.3 MB, free: 13.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 47.92 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2567, allocations: 52.18 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002586/0.2593, allocations: 1.443 MB / 424.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.2594, allocations: 35.91 kB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.2595, allocations: 0 / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2595, allocations: 3.938 kB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.094e-05/0.2596, allocations: 3.938 kB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2598, allocations: 19.98 kB / 424.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.2599, allocations: 35.91 kB / 424.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.26, allocations: 8 kB / 425 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.26, allocations: 15.92 kB / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.26, allocations: 11.94 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2601, allocations: 0 / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.2601, allocations: 4 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2601, allocations: 7.984 kB / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2601, allocations: 15.92 kB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.201e-05/0.2602, allocations: 31.64 kB / 425 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2602, allocations: 0 / 425 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2602, allocations: 0 / 425 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2602, allocations: 4 kB / 425 MB, free: 12.95 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.0003811/0.2606, allocations: 267.3 kB / 425.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2606, allocations: 12.03 kB / 425.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.22e-05/0.2607, allocations: 192 / 425.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.2607, allocations: 30.75 kB / 425.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2607, allocations: 4.938 kB / 425.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.2609, allocations: 126.4 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2609, allocations: 4.375 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.2609, allocations: 4.375 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.2613, allocations: 119.6 kB / 425.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2613, allocations: 0 / 425.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.2613, allocations: 4 kB / 425.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2613, allocations: 0 / 425.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.2614, allocations: 23.97 kB / 425.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2615, allocations: 128.8 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2617, allocations: 54.47 kB / 425.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.2617, allocations: 28.92 kB / 425.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2617, allocations: 0 / 425.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2618, allocations: 42.5 kB / 425.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2618, allocations: 3.938 kB / 425.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.262, allocations: 65.67 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.2621, allocations: 63.34 kB / 426 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.2622, allocations: 105.8 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2622, allocations: 25.7 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.2622, allocations: 80.14 kB / 426.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.2622, allocations: 15.88 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2623, allocations: 17.72 kB / 426.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2624, allocations: 314.8 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.2624, allocations: 0 / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.2625, allocations: 39.42 kB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.2625, allocations: 35.38 kB / 426.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2625, allocations: 0 / 426.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.636e-05/0.2626, allocations: 61.62 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2626, allocations: 11.94 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2626, allocations: 0 / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2627, allocations: 0 / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.2627, allocations: 7.938 kB / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2627, allocations: 4 kB / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.2627, allocations: 0 / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2627, allocations: 4 kB / 426.7 MB, free: 11.05 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.76e-05/0.2628, allocations: 118 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.263, allocations: 61.58 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.263, allocations: 15.67 kB / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.263, allocations: 0 / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.263, allocations: 0 / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.263, allocations: 0 / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.2631, allocations: 124.8 kB / 427 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2631, allocations: 0 / 427 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.2631, allocations: 11.92 kB / 427 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2631, allocations: 3.938 kB / 427 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2632, allocations: 4 kB / 427 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2632, allocations: 384 / 427 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2632, allocations: 0 / 427 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2633, allocations: 85.11 kB / 427.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.2633, allocations: 7.891 kB / 427.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2633, allocations: 8 kB / 427.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.2634, allocations: 4 kB / 427.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.2634, allocations: 12.14 kB / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2634, allocations: 8 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.2634, allocations: 79.28 kB / 427.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2634, allocations: 0 / 427.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.2636, allocations: 4 kB / 427.2 MB, free: 10.44 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.0005555/0.2642, allocations: 0.6437 MB / 427.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2643, allocations: 31.92 kB / 427.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2643, allocations: 0 / 427.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2643, allocations: 0 / 427.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2645, allocations: 23.97 kB / 427.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2656, allocations: 1.174 MB / 429.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2659, allocations: 0.6844 MB / 429.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.641e-05/0.2659, allocations: 0 / 429.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.2659, allocations: 15.42 kB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2659, allocations: 0 / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.2862, allocations: 1.447 MB / 431.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.61, allocations: 10.81 kB / 431.3 MB, free: 6.395 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: 12.96284181100782]