Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 53.4 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003139/0.2464, allocations: 1.565 MB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2476, allocations: 0.5025 MB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2477, allocations: 4 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.2477, allocations: 3.938 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.2479, allocations: 11.92 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2482, allocations: 55.81 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2483, allocations: 35.86 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2484, allocations: 11.98 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2486, allocations: 31.8 kB / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.2486, allocations: 19.92 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2487, allocations: 4 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.2487, allocations: 7.984 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.2488, allocations: 11.94 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2488, allocations: 15.88 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.249, allocations: 57.42 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.249, allocations: 0 / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.249, allocations: 4 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.249, allocations: 0 / 433.5 MB, free: 4.094 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.0005654/0.2495, allocations: 294 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2496, allocations: 11.98 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.2496, allocations: 38.75 kB / 433.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2498, allocations: 16.88 kB / 433.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.2501, allocations: 145 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.2501, allocations: 384 / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.2501, allocations: 4.375 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.2504, allocations: 101.2 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2504, allocations: 4 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2505, allocations: 0 / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2505, allocations: 4 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.2505, allocations: 15.98 kB / 434.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.2509, allocations: 236.8 kB / 434.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.251, allocations: 45.14 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.251, allocations: 21.78 kB / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.251, allocations: 0 / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2511, allocations: 34.5 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2511, allocations: 4 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002434/0.2513, allocations: 65.62 kB / 434.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.2514, allocations: 85.05 kB / 434.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2515, allocations: 142.1 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2516, allocations: 25.7 kB / 434.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2516, allocations: 84.14 kB / 434.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.2516, allocations: 4 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.2517, allocations: 21.66 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2518, allocations: 327 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.2519, allocations: 4 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.2519, allocations: 25.7 kB / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.252, allocations: 29.64 kB / 435.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.252, allocations: 4 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.2521, allocations: 53.62 kB / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2521, allocations: 8.125 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2521, allocations: 0 / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2521, allocations: 0 / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.2522, allocations: 11.98 kB / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.2522, allocations: 0 / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.2523, allocations: 0 / 435.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2523, allocations: 4 kB / 435.3 MB, free: 2.023 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: 0 () * 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.535e-05/0.2524, allocations: 125.7 kB / 435.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.2524, allocations: 37.66 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2525, allocations: 15.8 kB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2525, allocations: 7.984 kB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2525, allocations: 0 / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2525, allocations: 0 / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2527, allocations: 136.6 kB / 435.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2527, allocations: 4 kB / 435.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.2527, allocations: 7.984 kB / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2527, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2527, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2527, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2527, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.2529, allocations: 168.2 kB / 435.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2529, allocations: 19.94 kB / 435.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.253, allocations: 4 kB / 435.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.253, allocations: 4 kB / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2531, allocations: 3.984 kB / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.2531, allocations: 0 / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.2532, allocations: 110 kB / 435.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2532, allocations: 0 / 435.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2534, allocations: 4 kB / 435.9 MB, free: 1.312 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: 0 () * 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.000571/0.254, allocations: 0.6976 MB / 436.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.2541, allocations: 19.98 kB / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2541, allocations: 0 / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.2542, allocations: 11.92 kB / 436.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2545, allocations: 27.83 kB / 436.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.256, allocations: 1.316 MB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.2561, allocations: 75.31 kB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.2561, allocations: 4 kB / 438.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.2561, allocations: 15.42 kB / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2561, allocations: 0 / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2861, allocations: 2.027 MB / 440.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.27, allocations: 4.062 kB / 440.1 MB, free: 13.09 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.844202684238553]