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.001256/0.001256, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001381/0.001381, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.335/1.335, allocations: 225.7 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.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002722/0.244, allocations: 1.498 MB / 424.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.2448, allocations: 462.9 kB / 425.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.2449, allocations: 4 kB / 425.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.2449, allocations: 3.938 kB / 425.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.2451, allocations: 19.86 kB / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.2452, allocations: 27.91 kB / 425.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2453, allocations: 59.78 kB / 425.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.2454, allocations: 0 / 425.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.2455, allocations: 31.91 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.2456, allocations: 15.92 kB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2456, allocations: 4 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2456, allocations: 8 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.2456, allocations: 7.984 kB / 425.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.2457, allocations: 27.81 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2458, allocations: 55.59 kB / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2458, allocations: 0 / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2458, allocations: 0 / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2458, allocations: 4 kB / 425.6 MB, free: 12.36 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.0005587/0.2464, allocations: 307.1 kB / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2464, allocations: 8.031 kB / 425.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.2464, allocations: 4.188 kB / 425.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.2465, allocations: 34.75 kB / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.2465, allocations: 12.88 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.2467, allocations: 118.5 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2467, allocations: 8.359 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2467, allocations: 12.31 kB / 426.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.2471, allocations: 147.1 kB / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2471, allocations: 0 / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.2471, allocations: 0 / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2471, allocations: 0 / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2473, allocations: 27.98 kB / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.2474, allocations: 144.7 kB / 426.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2476, allocations: 50.61 kB / 426.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.2477, allocations: 32.78 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2477, allocations: 3.938 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2477, allocations: 38.56 kB / 426.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2477, allocations: 0 / 426.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000247/0.248, allocations: 81.67 kB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.248, allocations: 59.41 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.2481, allocations: 109.8 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2481, allocations: 25.7 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2482, allocations: 84.14 kB / 426.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.2482, allocations: 11.92 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2482, allocations: 25.66 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2484, allocations: 314.8 kB / 427.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2484, allocations: 11.98 kB / 427.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.2484, allocations: 41.16 kB / 427.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.2485, allocations: 57.08 kB / 427.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2485, allocations: 0 / 427.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.2486, allocations: 77.5 kB / 427.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2486, allocations: 4 kB / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2486, allocations: 0 / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2486, allocations: 8.438 kB / 427.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.2487, allocations: 11.94 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2487, allocations: 4 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.2487, allocations: 19.89 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2487, allocations: 0 / 427.5 MB, free: 10.27 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 8.479e-05/0.2488, allocations: 113.8 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.249, allocations: 73.55 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.249, allocations: 12.31 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.249, allocations: 8 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.249, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.249, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2491, allocations: 140.7 kB / 427.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2491, allocations: 3.938 kB / 427.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.2492, allocations: 8 kB / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2492, allocations: 0 / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2492, allocations: 0 / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2492, allocations: 0 / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2492, allocations: 3.984 kB / 427.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2493, allocations: 93.12 kB / 427.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.2494, allocations: 15.88 kB / 427.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2494, allocations: 4 kB / 427.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.2495, allocations: 11.98 kB / 428 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.2495, allocations: 3.938 kB / 428 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.2495, allocations: 4 kB / 428 MB, free: 9.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.969e-05/0.2495, allocations: 95.67 kB / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2495, allocations: 0 / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000193/0.2497, allocations: 12 kB / 428.1 MB, free: 9.598 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.0005968/0.2503, allocations: 0.6555 MB / 428.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.2505, allocations: 39.98 kB / 428.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2505, allocations: 0 / 428.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2505, allocations: 4 kB / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2508, allocations: 41.61 kB / 428.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2519, allocations: 1.255 MB / 430.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2522, allocations: 0.6961 MB / 430.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.2522, allocations: 0 / 430.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.2523, allocations: 23.36 kB / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2523, allocations: 0 / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.2731, allocations: 1.815 MB / 432.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.81, allocations: 6.641 kB / 432.6 MB, free: 5.047 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.124292462016456]