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.001807/0.001807, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002069/0.002069, allocations: 187.4 kB / 23.72 MB, free: 4.684 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.001694/0.001694, allocations: 51.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2623, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003314/0.2656, allocations: 1.505 MB / 424.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.2665, allocations: 458.9 kB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.2665, allocations: 4 kB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.2666, allocations: 7.922 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2667, allocations: 15.92 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2669, allocations: 31.89 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.267, allocations: 51.8 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.2671, allocations: 11.98 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.2672, allocations: 19.88 kB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.2673, allocations: 27.91 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2673, allocations: 4 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2673, allocations: 4 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.2673, allocations: 11.98 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2673, allocations: 27.86 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2675, allocations: 51.61 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2675, allocations: 0 / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2675, allocations: 0 / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2675, allocations: 3.984 kB / 424.8 MB, free: 12.37 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.0006105/0.2681, allocations: 302.7 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2681, allocations: 8.031 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.2682, allocations: 38.73 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.2682, allocations: 8.891 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2685, allocations: 118.5 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2685, allocations: 8.375 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2685, allocations: 4.375 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.2689, allocations: 147.3 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2689, allocations: 0 / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2689, allocations: 0 / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2689, allocations: 0 / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2691, allocations: 27.98 kB / 425.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.2692, allocations: 148.7 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2694, allocations: 58.56 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.2695, allocations: 28.83 kB / 425.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2695, allocations: 0 / 425.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2695, allocations: 42.5 kB / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.2695, allocations: 0 / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002679/0.2698, allocations: 85.61 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2699, allocations: 59.41 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.27, allocations: 109.8 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.27, allocations: 29.7 kB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.27, allocations: 88.06 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.2701, allocations: 8 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.2701, allocations: 17.72 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2702, allocations: 318.8 kB / 426.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.2702, allocations: 8 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.2703, allocations: 41.16 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.2704, allocations: 57.08 kB / 426.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2704, allocations: 3.938 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001145/0.2705, allocations: 77.5 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2705, allocations: 4 kB / 426.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2705, allocations: 192 / 426.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2705, allocations: 8 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.2706, allocations: 12 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2706, allocations: 0 / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.2706, allocations: 11.89 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2706, allocations: 3.984 kB / 426.7 MB, free: 10.29 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 9.217e-05/0.2707, allocations: 117.8 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2708, allocations: 69.56 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.2709, allocations: 12.38 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2709, allocations: 11.94 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2709, allocations: 3.984 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2709, allocations: 0 / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.271, allocations: 132.7 kB / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.271, allocations: 0 / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.271, allocations: 12.25 kB / 427 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.271, allocations: 0 / 427 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2711, allocations: 7.984 kB / 427 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2711, allocations: 0 / 427 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2711, allocations: 0 / 427 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2712, allocations: 105 kB / 427.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.2712, allocations: 7.891 kB / 427.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2713, allocations: 4 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.2713, allocations: 15.97 kB / 427.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-06/0.2714, allocations: 0 / 427.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2714, allocations: 7.938 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.2714, allocations: 91.27 kB / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2714, allocations: 0 / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2716, allocations: 12 kB / 427.3 MB, free: 9.613 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.0005609/0.2722, allocations: 0.6553 MB / 427.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2723, allocations: 39.98 kB / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2723, allocations: 0 / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.2723, allocations: 4 kB / 428 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2726, allocations: 32.7 kB / 428 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2738, allocations: 1.258 MB / 429.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2741, allocations: 0.6941 MB / 430 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.892e-05/0.2742, allocations: 0 / 430 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.2742, allocations: 19.42 kB / 430 MB, free: 6.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2742, allocations: 0 / 430 MB, free: 6.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3032, allocations: 1.789 MB / 431.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.78, allocations: 8 kB / 431.8 MB, free: 5.09 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: 13.132027212996036]