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.001518/0.001518, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001794/0.001794, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.364/1.364, allocations: 230.6 MB / 258.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.92 kB / 378.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 53.36 MB / 431.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002819/0.2801, allocations: 1.433 MB / 433.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.2804, allocations: 35.91 kB / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.2804, allocations: 7.938 kB / 433.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.2805, allocations: 3.938 kB / 433.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.2805, allocations: 3.938 kB / 433.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.2808, allocations: 27.91 kB / 433.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2809, allocations: 35.86 kB / 433.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.281, allocations: 4 kB / 433.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.2811, allocations: 11.98 kB / 433.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.2811, allocations: 15.92 kB / 433.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.2812, allocations: 0 / 433.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.2812, allocations: 4 kB / 433.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.2812, allocations: 15.92 kB / 433.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.2813, allocations: 11.94 kB / 433.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2814, allocations: 27.7 kB / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2814, allocations: 0 / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2814, allocations: 0 / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2814, allocations: 0 / 433.5 MB, free: 5.027 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.0005293/0.2819, allocations: 263.3 kB / 433.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.282, allocations: 12.03 kB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/0.282, allocations: 192 / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.282, allocations: 30.75 kB / 433.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.2821, allocations: 4.938 kB / 433.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2823, allocations: 134.3 kB / 433.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2823, allocations: 4.375 kB / 433.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2823, allocations: 384 / 433.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.2826, allocations: 115.6 kB / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2827, allocations: 0 / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2827, allocations: 0 / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2827, allocations: 7.984 kB / 434 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.2828, allocations: 23.97 kB / 434.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.2829, allocations: 128.8 kB / 434.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.2831, allocations: 50.5 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.2832, allocations: 20.92 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.2832, allocations: 4 kB / 434.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2832, allocations: 34.5 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2832, allocations: 0 / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000263/0.2835, allocations: 81.55 kB / 434.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.2836, allocations: 59.41 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.2836, allocations: 101.8 kB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2837, allocations: 29.64 kB / 434.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2837, allocations: 88.14 kB / 434.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.2837, allocations: 0 / 434.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2838, allocations: 17.72 kB / 434.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2839, allocations: 322.8 kB / 435 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.2839, allocations: 4 kB / 435 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.2839, allocations: 31.44 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.284, allocations: 35.38 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.284, allocations: 4 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.62e-05/0.2841, allocations: 61.58 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2841, allocations: 7.938 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2841, allocations: 0 / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2841, allocations: 4 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.2842, allocations: 15.92 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2842, allocations: 0 / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.2842, allocations: 384 / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2842, allocations: 4 kB / 435.2 MB, free: 3.141 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.275e-05/0.2843, allocations: 118 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2844, allocations: 61.61 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.2844, allocations: 7.688 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2845, allocations: 4 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2845, allocations: 0 / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2845, allocations: 3.938 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2846, allocations: 120.8 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2846, allocations: 0 / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.2846, allocations: 4 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2846, allocations: 3.938 kB / 435.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2846, allocations: 15.98 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2846, allocations: 3.984 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2846, allocations: 0 / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2848, allocations: 89.3 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.2848, allocations: 7.875 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2848, allocations: 48 / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.2848, allocations: 7.984 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-06/0.2848, allocations: 0 / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2848, allocations: 0 / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.2849, allocations: 87.27 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2849, allocations: 0 / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000183/0.2851, allocations: 8 kB / 435.7 MB, free: 2.527 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.0006037/0.2857, allocations: 0.6475 MB / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.2858, allocations: 31.86 kB / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2858, allocations: 0 / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2858, allocations: 0 / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.286, allocations: 23.17 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2871, allocations: 1.173 MB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.808e-05/0.2872, allocations: 67.34 kB / 437.6 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.731e-05/0.2872, allocations: 4 kB / 437.6 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.2872, allocations: 7.438 kB / 437.6 MB, free: 440 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2872, allocations: 0 / 437.6 MB, free: 440 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3087, allocations: 1.483 MB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.7, allocations: 7.328 kB / 439.1 MB, free: 15.09 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.084698803024366]