Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001322/0.001322, allocations: 112.2 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.001363/0.001363, allocations: 189.9 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.436/1.436, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2604, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002683/0.2631, allocations: 1.517 MB / 424.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000372/0.2635, allocations: 131.6 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.2635, allocations: 3.938 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.2636, allocations: 7.938 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2637, allocations: 7.984 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2639, allocations: 39.22 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.264, allocations: 27.92 kB / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.2641, allocations: 8 kB / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.2641, allocations: 15.92 kB / 424.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.024e-05/0.2641, allocations: 11.92 kB / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2641, allocations: 0 / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.2642, allocations: 4 kB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.2642, allocations: 15.92 kB / 424.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2642, allocations: 19.88 kB / 424.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/0.2643, allocations: 39.62 kB / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2643, allocations: 0 / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2643, allocations: 0 / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2643, allocations: 0 / 424.5 MB, free: 12.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003853/0.2647, allocations: 286.6 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2648, allocations: 16.02 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2648, allocations: 30.75 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.2648, allocations: 8.891 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.265, allocations: 141.8 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.265, allocations: 4.375 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2651, allocations: 384 / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2653, allocations: 89.61 kB / 425 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2653, allocations: 3.938 kB / 425 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2653, allocations: 3.938 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2653, allocations: 7.984 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.2653, allocations: 15.98 kB / 425.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.2657, allocations: 224.9 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.2657, allocations: 49.16 kB / 425.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.2658, allocations: 17.7 kB / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2658, allocations: 4 kB / 425.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2658, allocations: 34.5 kB / 425.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2658, allocations: 0 / 425.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.266, allocations: 53.64 kB / 425.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.2661, allocations: 89.3 kB / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2662, allocations: 129.8 kB / 425.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2662, allocations: 25.7 kB / 425.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.2663, allocations: 84.14 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.2663, allocations: 0 / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.2663, allocations: 21.7 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2664, allocations: 310.8 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.2665, allocations: 7.938 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.2665, allocations: 29.7 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.2666, allocations: 21.66 kB / 426.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2666, allocations: 3.938 kB / 426.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.425e-05/0.2667, allocations: 49.64 kB / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2667, allocations: 8 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2667, allocations: 4.125 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2667, allocations: 0 / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.2667, allocations: 0 / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2667, allocations: 0 / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.2667, allocations: 7.938 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.2667, allocations: 0 / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.148e-05/0.2668, allocations: 121.8 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2669, allocations: 37.66 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2669, allocations: 19.48 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2669, allocations: 0 / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2669, allocations: 0 / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2669, allocations: 0 / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2671, allocations: 136.7 kB / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2671, allocations: 0 / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.2671, allocations: 4 kB / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2671, allocations: 0 / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2671, allocations: 3.984 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2671, allocations: 0 / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2671, allocations: 0 / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.2673, allocations: 164.2 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.2673, allocations: 8 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2673, allocations: 4 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.2674, allocations: 3.984 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.2674, allocations: 0 / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2674, allocations: 4 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.2675, allocations: 107.2 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2675, allocations: 0 / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.2677, allocations: 4 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004682/0.2682, allocations: 0.6937 MB / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2683, allocations: 8 kB / 427.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2683, allocations: 3.938 kB / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.2683, allocations: 11.94 kB / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2686, allocations: 15.11 kB / 427.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2698, allocations: 1.241 MB / 428.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2701, allocations: 0.6922 MB / 429.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.2701, allocations: 0 / 429.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.2702, allocations: 15.38 kB / 429.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2702, allocations: 0 / 429.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.2976, allocations: 1.466 MB / 431 MB, free: 5.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.14, allocations: 6.297 kB / 431 MB, free: 5.941 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y [Calling sys.exit(0), Time elapsed: 13.66796998099744]