Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001342/0.001342, allocations: 112 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.001983/0.001983, allocations: 181.3 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.448/1.448, 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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 370.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 52.18 MB / 422.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002815/0.247, allocations: 1.529 MB / 424.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.2474, allocations: 135.5 kB / 424.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.2475, allocations: 4 kB / 424.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.2476, allocations: 3.938 kB / 424.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.2477, allocations: 7.922 kB / 424.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2479, allocations: 39.91 kB / 424.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.248, allocations: 23.92 kB / 424.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.2481, allocations: 8 kB / 424.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.2482, allocations: 15.92 kB / 424.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.2482, allocations: 11.94 kB / 424.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2482, allocations: 4 kB / 424.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.2482, allocations: 0 / 424.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.2483, allocations: 11.92 kB / 424.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.2483, allocations: 23.81 kB / 424.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2484, allocations: 44.45 kB / 424.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2484, allocations: 0 / 424.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2484, allocations: 7.938 kB / 424.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2484, allocations: 0 / 424.5 MB, free: 12.89 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.0004467/0.2489, allocations: 286.1 kB / 424.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2489, allocations: 8.031 kB / 424.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.249, allocations: 34.75 kB / 424.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.249, allocations: 8.891 kB / 424.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.2492, allocations: 134.4 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.2492, allocations: 4.375 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2493, allocations: 4.375 kB / 425 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2495, allocations: 93.61 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2495, allocations: 3.938 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2495, allocations: 3.984 kB / 425.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2495, allocations: 0 / 425.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.2496, allocations: 23.92 kB / 425.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2499, allocations: 220.9 kB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.25, allocations: 53.08 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.2501, allocations: 21.77 kB / 425.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2501, allocations: 0 / 425.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2501, allocations: 38.5 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2501, allocations: 3.938 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002308/0.2503, allocations: 65.58 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2504, allocations: 81.34 kB / 425.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2505, allocations: 137.5 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2506, allocations: 25.7 kB / 425.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2506, allocations: 88.14 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.2506, allocations: 3.953 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2507, allocations: 13.72 kB / 425.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2508, allocations: 318.8 kB / 426.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.2509, allocations: 4 kB / 426.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.2509, allocations: 29.64 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.251, allocations: 25.7 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.251, allocations: 3.938 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001082/0.2511, allocations: 53.62 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2511, allocations: 8.125 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2511, allocations: 0 / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2511, allocations: 4 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.2512, allocations: 8 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2512, allocations: 3.984 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.2512, allocations: 3.984 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.2512, allocations: 4 kB / 426.3 MB, free: 10.86 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 (step.y,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 8.619e-05/0.2513, allocations: 117.8 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.2514, allocations: 37.66 kB / 426.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2514, allocations: 19.77 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2514, allocations: 4 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2514, allocations: 0 / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2514, allocations: 0 / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2516, allocations: 136.7 kB / 426.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2516, allocations: 0 / 426.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.2516, allocations: 4 kB / 426.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2516, allocations: 4 kB / 426.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.2516, allocations: 0 / 426.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2516, allocations: 0 / 426.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2516, allocations: 7.938 kB / 426.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.2518, allocations: 160.3 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.2518, allocations: 15.89 kB / 426.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2518, allocations: 4 kB / 426.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.2519, allocations: 7.984 kB / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.2519, allocations: 7.969 kB / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2519, allocations: 0 / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.252, allocations: 103.3 kB / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.252, allocations: 0 / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.2522, allocations: 7.938 kB / 426.9 MB, free: 10.16 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 (step.y,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.0005172/0.2527, allocations: 0.6859 MB / 427.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.2529, allocations: 23.92 kB / 427.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2529, allocations: 0 / 427.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.2529, allocations: 4 kB / 427.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2533, allocations: 19.3 kB / 427.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2547, allocations: 1.26 MB / 428.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.2551, allocations: 0.6922 MB / 429.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.2551, allocations: 0 / 429.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.2552, allocations: 15.44 kB / 429.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2552, allocations: 4.031 kB / 429.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.281, allocations: 1.47 MB / 431.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.98, allocations: 2.75 kB / 431.1 MB, free: 5.965 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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,sample1.y,step.y,periodicClock.factor,periodicClock.resolution [Calling sys.exit(0), Time elapsed: 13.497816668001178]