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.001761/0.001761, allocations: 120.1 kB / 17.79 MB, free: 5.25 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.002183/0.002183, allocations: 194.8 kB / 20.73 MB, free: 2.312 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.492/1.492, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.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.002438/0.002438, allocations: 55.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1112, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00276/0.1139, allocations: 1.504 MB / 419.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003615/0.1143, allocations: 135.5 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.1144, allocations: 3.938 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.1144, allocations: 7.938 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1145, allocations: 11.94 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1147, allocations: 35.89 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.1148, allocations: 31.86 kB / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.1149, allocations: 4 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.1149, allocations: 15.92 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.115, allocations: 11.94 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.115, allocations: 0 / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.115, allocations: 4 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.115, allocations: 11.92 kB / 419.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.1151, allocations: 19.86 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1152, allocations: 43.77 kB / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1152, allocations: 0 / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1152, allocations: 0 / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1152, allocations: 0 / 419.6 MB, free: 10.77 MB / 350.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.0004632/0.1156, allocations: 357.7 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1157, allocations: 12.03 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1157, allocations: 38.73 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1157, allocations: 12.83 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.116, allocations: 196.1 kB / 420.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.116, allocations: 4.312 kB / 420.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.116, allocations: 8.375 kB / 420.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1163, allocations: 85.61 kB / 420.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1163, allocations: 3.938 kB / 420.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1163, allocations: 0 / 420.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1163, allocations: 4 kB / 420.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.1164, allocations: 15.98 kB / 420.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1167, allocations: 253.8 kB / 420.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.1168, allocations: 45.14 kB / 420.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.1169, allocations: 21.77 kB / 420.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1169, allocations: 0 / 420.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1169, allocations: 38.5 kB / 420.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.1169, allocations: 0 / 420.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.1171, allocations: 61.58 kB / 420.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.1172, allocations: 77.36 kB / 420.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1174, allocations: 136.4 kB / 420.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1174, allocations: 25.7 kB / 421 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.1174, allocations: 84.12 kB / 421.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.1174, allocations: 4 kB / 421.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1175, allocations: 17.72 kB / 421.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1176, allocations: 310.8 kB / 421.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.1177, allocations: 11.98 kB / 421.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.1177, allocations: 17.72 kB / 421.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.1177, allocations: 25.66 kB / 421.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1178, allocations: 3.938 kB / 421.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.009e-05/0.1178, allocations: 45.64 kB / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1179, allocations: 4 kB / 421.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1179, allocations: 128 / 421.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1179, allocations: 4 kB / 421.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.1179, allocations: 11.92 kB / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1179, allocations: 0 / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.1179, allocations: 0 / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1179, allocations: 12 kB / 421.5 MB, free: 8.582 MB / 350.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.663e-05/0.118, allocations: 113.8 kB / 421.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1181, allocations: 41.64 kB / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.1181, allocations: 11.47 kB / 421.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1181, allocations: 4.031 kB / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1181, allocations: 0 / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1181, allocations: 4 kB / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1183, allocations: 169.6 kB / 421.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1183, allocations: 0 / 421.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.1183, allocations: 0 / 421.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1183, allocations: 3.938 kB / 421.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1183, allocations: 0 / 421.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1183, allocations: 4 kB / 421.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1183, allocations: 3.938 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1185, allocations: 152.3 kB / 422 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.1186, allocations: 93.03 kB / 422.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1186, allocations: 4 kB / 422.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.1186, allocations: 0 / 422.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1187, allocations: 0 / 422.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1187, allocations: 4 kB / 422.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.1188, allocations: 107.3 kB / 422.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1188, allocations: 0 / 422.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.119, allocations: 4 kB / 422.2 MB, free: 7.77 MB / 350.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.0004882/0.1195, allocations: 0.6936 MB / 422.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1196, allocations: 19.98 kB / 422.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1196, allocations: 0 / 422.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.1196, allocations: 7.938 kB / 422.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1199, allocations: 12.02 kB / 422.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1212, allocations: 1.249 MB / 424.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1215, allocations: 0.6844 MB / 424.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.961e-05/0.1216, allocations: 4 kB / 424.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1216, allocations: 15.42 kB / 424.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1216, allocations: 0 / 424.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1444, allocations: 1.392 MB / 426.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.272, allocations: 4.453 kB / 426.3 MB, free: 3.684 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.983194021973759]