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.001653/0.001653, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001828/0.001828, allocations: 180.4 kB / 23.72 MB, free: 4.699 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.474/1.474, allocations: 225.6 MB / 252.5 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="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.001606/0.001606, allocations: 47.92 kB / 370.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2671, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002755/0.2698, allocations: 1.505 MB / 424.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.2706, allocations: 466.9 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.2707, allocations: 0 / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.2707, allocations: 11.92 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2709, allocations: 7.875 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.271, allocations: 23.97 kB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2712, allocations: 55.78 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.2713, allocations: 15.98 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.2713, allocations: 23.92 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.2714, allocations: 23.91 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2714, allocations: 4 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.2714, allocations: 4 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2714, allocations: 11.94 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2715, allocations: 27.86 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2716, allocations: 43.67 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2716, allocations: 0 / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2716, allocations: 0 / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2716, allocations: 4 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.0005559/0.2722, allocations: 310.6 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2722, allocations: 8.031 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2722, allocations: 38.73 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.2723, allocations: 12.89 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2725, allocations: 118.5 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2725, allocations: 384 / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2725, allocations: 4.375 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.2729, allocations: 151.2 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2729, allocations: 4 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2729, allocations: 4 kB / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2729, allocations: 0 / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.273, allocations: 31.92 kB / 425.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2732, allocations: 132.7 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2733, allocations: 58.61 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.2734, allocations: 32.84 kB / 425.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2734, allocations: 3.984 kB / 425.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2735, allocations: 34.5 kB / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2735, allocations: 0 / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002766/0.2737, allocations: 85.61 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.2738, allocations: 55.41 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2739, allocations: 113.8 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2739, allocations: 33.7 kB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.274, allocations: 84.14 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.274, allocations: 3.984 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.274, allocations: 21.72 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2742, allocations: 318.8 kB / 426.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.2742, allocations: 4 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.2743, allocations: 49.09 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.2743, allocations: 57.08 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2743, allocations: 4 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001138/0.2745, allocations: 73.5 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2745, allocations: 8 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2745, allocations: 0 / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2745, allocations: 0 / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.2745, allocations: 8 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2745, allocations: 4 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.2746, allocations: 7.891 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2746, allocations: 8.438 kB / 426.7 MB, free: 10.3 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.956e-05/0.2747, allocations: 129.8 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.2748, allocations: 69.62 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.2749, allocations: 8.375 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2749, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2749, allocations: 3.938 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2749, allocations: 3.984 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.275, allocations: 136.7 kB / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.275, allocations: 0 / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.2751, allocations: 15.88 kB / 427 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2751, allocations: 0 / 427 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2751, allocations: 15.92 kB / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2751, allocations: 0 / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2751, allocations: 0 / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.2752, allocations: 93.09 kB / 427.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2753, allocations: 11.89 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2753, allocations: 0 / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.2754, allocations: 23.98 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.2754, allocations: 0 / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2754, allocations: 0 / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.2754, 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.2754, allocations: 0 / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.2756, allocations: 4 kB / 427.3 MB, free: 9.621 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.0005693/0.2762, allocations: 0.6624 MB / 427.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2763, allocations: 40.11 kB / 428 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2763, allocations: 0 / 428 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2763, allocations: 448 / 428 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2766, allocations: 53.28 kB / 428 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2778, allocations: 1.252 MB / 429.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.2781, allocations: 0.6844 MB / 430 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.2781, allocations: 4 kB / 430 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.2782, allocations: 15.42 kB / 430 MB, free: 6.754 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2782, allocations: 0 / 430 MB, free: 6.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.3127, allocations: 1.795 MB / 431.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.14, allocations: 6.172 kB / 431.8 MB, free: 5.086 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 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.csv","/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] "Error: Could not read variable assignClock1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.683635318997403]