Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 113.1 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 214.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2815, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003027/0.2845, allocations: 1.524 MB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.2849, allocations: 139.5 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.285, allocations: 3.938 kB / 432.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.732e-05/0.285, allocations: 0 / 432.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2852, allocations: 11.94 kB / 432.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2854, allocations: 43.83 kB / 432.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2855, allocations: 31.86 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.2856, allocations: 4 kB / 432.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.2857, allocations: 8 kB / 432.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.2857, allocations: 19.86 kB / 432.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2857, allocations: 0 / 432.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.2857, allocations: 4 kB / 432.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.2858, allocations: 11.98 kB / 432.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2858, allocations: 19.8 kB / 432.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2859, allocations: 35.64 kB / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2859, allocations: 4 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2859, allocations: 0 / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2859, allocations: 0 / 433 MB, free: 4.996 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.0004423/0.2864, allocations: 285.8 kB / 433.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2864, allocations: 12.03 kB / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.2865, allocations: 34.75 kB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.2865, allocations: 8.891 kB / 433.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2867, allocations: 134.3 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2867, allocations: 12.38 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.2867, allocations: 4.312 kB / 433.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.287, allocations: 81.67 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.287, allocations: 7.875 kB / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.287, allocations: 0 / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.287, allocations: 0 / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.287, allocations: 16 kB / 433.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.2874, allocations: 228.9 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.2875, allocations: 49 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.2876, allocations: 17.84 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.2876, allocations: 7.938 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2876, allocations: 34.56 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2876, allocations: 0 / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.2878, allocations: 57.58 kB / 433.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.2879, allocations: 85.03 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.288, allocations: 136.6 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.288, allocations: 25.7 kB / 434.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2881, allocations: 88.14 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.2881, allocations: 3.953 kB / 434.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.2881, allocations: 13.72 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2883, allocations: 318.8 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.2883, allocations: 4 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.2883, allocations: 17.72 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.398e-05/0.2884, allocations: 25.7 kB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2884, allocations: 3.938 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.165e-05/0.2885, allocations: 53.62 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2885, allocations: 4 kB / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2885, allocations: 4 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2885, allocations: 128 / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.2885, allocations: 4 kB / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2886, allocations: 0 / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.2886, allocations: 4 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2886, allocations: 0 / 434.7 MB, free: 3.02 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 0.0001031/0.2887, allocations: 121.8 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.2888, allocations: 41.59 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2888, allocations: 7.422 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2888, allocations: 4 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2888, allocations: 4.031 kB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2888, allocations: 0 / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.289, allocations: 140.7 kB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.289, allocations: 0 / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.289, allocations: 0 / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.289, allocations: 4 kB / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.289, allocations: 3.938 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.289, allocations: 0 / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.289, allocations: 0 / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2891, allocations: 168.2 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.2892, allocations: 11.94 kB / 435.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.2892, allocations: 0 / 435.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.2892, allocations: 4 kB / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2892, allocations: 0 / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2893, allocations: 0 / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.2893, allocations: 111.2 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2893, allocations: 4.031 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.2895, allocations: 4 kB / 435.3 MB, free: 2.32 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.0004981/0.29, allocations: 0.6781 MB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2902, allocations: 24.02 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2902, allocations: 0 / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.2902, allocations: 4 kB / 436 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2905, allocations: 19.95 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2917, allocations: 1.253 MB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2921, allocations: 0.6807 MB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2921, allocations: 4 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.2922, allocations: 11.42 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2922, allocations: 0 / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3202, allocations: 1.484 MB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11, allocations: 4 kB / 439.5 MB, free: 14.15 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.57542673900025]