Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.001442/0.001442, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001323/0.001323, allocations: 192.8 kB / 23.71 MB, free: 4.406 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.354/1.354, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.91 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2415, allocations: 52.17 MB / 422.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003697/0.2452, allocations: 1.489 MB / 424.1 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2462, allocations: 419 kB / 424.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.2463, allocations: 4 kB / 424.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.2464, allocations: 11.92 kB / 424.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2465, allocations: 15.8 kB / 424.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.2467, allocations: 34.91 kB / 424.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2468, allocations: 55.78 kB / 424.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.2469, allocations: 11.78 kB / 424.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.247, allocations: 19.94 kB / 424.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.247, allocations: 19.91 kB / 424.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.247, allocations: 4 kB / 424.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.247, allocations: 4 kB / 424.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.2471, allocations: 23.86 kB / 424.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.2471, allocations: 19.92 kB / 424.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2472, allocations: 43.88 kB / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2472, allocations: 0 / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2472, allocations: 0 / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2472, allocations: 4 kB / 424.7 MB, free: 12.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007327/0.248, allocations: 311.9 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.248, allocations: 12.02 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.2481, allocations: 38.75 kB / 425.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.2481, allocations: 4.891 kB / 425.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2484, allocations: 118.5 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2484, allocations: 8.312 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2484, allocations: 384 / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.2489, allocations: 155.3 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2489, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2489, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.2489, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.2491, allocations: 27.98 kB / 425.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.2492, allocations: 128.8 kB / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.2495, allocations: 58.59 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.2496, allocations: 32.72 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2496, allocations: 0 / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2496, allocations: 46.5 kB / 425.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2496, allocations: 0 / 425.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003235/0.2499, allocations: 81.67 kB / 425.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.25, allocations: 55.41 kB / 425.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2501, allocations: 113.8 kB / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2502, allocations: 29.7 kB / 425.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2502, allocations: 84.14 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.2502, allocations: 11.92 kB / 426 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.2503, allocations: 17.72 kB / 426 MB, free: 10.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2505, allocations: 318.8 kB / 426.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.2505, allocations: 12 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.2506, allocations: 41.16 kB / 426.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.2506, allocations: 53.08 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2507, allocations: 0 / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001645/0.2508, allocations: 85.75 kB / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2508, allocations: 4 kB / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2508, allocations: 4 kB / 426.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2509, allocations: 7.938 kB / 426.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.2509, allocations: 11.94 kB / 426.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2509, allocations: 0 / 426.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.251, allocations: 11.89 kB / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.251, allocations: 4 kB / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001114/0.2511, allocations: 122 kB / 426.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.2513, allocations: 73.56 kB / 426.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.2513, allocations: 12.38 kB / 426.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2513, allocations: 0 / 426.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2513, allocations: 0 / 426.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2513, allocations: 3.984 kB / 426.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2515, allocations: 128.7 kB / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2515, allocations: 4 kB / 426.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2515, allocations: 7.938 kB / 426.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2515, allocations: 0 / 426.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2515, allocations: 0 / 426.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2515, allocations: 4 kB / 426.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2515, allocations: 4 kB / 426.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2518, allocations: 89.11 kB / 427 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.2518, allocations: 11.89 kB / 427 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2518, allocations: 7.984 kB / 427 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.2519, allocations: 19.92 kB / 427.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.2519, allocations: 0 / 427.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2519, allocations: 4.062 kB / 427.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.252, allocations: 91.28 kB / 427.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.252, allocations: 0 / 427.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.2523, allocations: 4 kB / 427.2 MB, free: 9.59 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007965/0.2531, allocations: 0.6632 MB / 427.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2533, allocations: 39.91 kB / 427.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2533, allocations: 0 / 427.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5e-07/0.2533, allocations: 448 / 427.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2537, allocations: 45.62 kB / 427.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2553, allocations: 1.247 MB / 429.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.19e-05/0.2554, allocations: 79.12 kB / 429.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.2554, allocations: 3.938 kB / 429.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.2554, allocations: 15.44 kB / 429.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2554, allocations: 4 kB / 429.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2839, allocations: 2.199 MB / 431.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.67, allocations: 8.062 kB / 431.5 MB, free: 5.27 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.941394816152751]