Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.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.0008022/0.0008022, allocations: 76.5 kB / 19.92 MB, free: 4.637 MB / 18.57 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.000864/0.000864, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9031/0.9031, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1633/0.1633, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.898e-05, allocations: 5.938 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002348/0.002377, allocations: 1.629 MB / 408.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.003301, allocations: 0.5538 MB / 409 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.003386, allocations: 0 / 409 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.003504, allocations: 11.86 kB / 409 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.003552, allocations: 19.86 kB / 409 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.00387, allocations: 63.69 kB / 409.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.004042, allocations: 111.7 kB / 409.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.004193, allocations: 19.98 kB / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004329, allocations: 67.81 kB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.00445, allocations: 31.89 kB / 409.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.004478, allocations: 8 kB / 409.3 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.004495, allocations: 8 kB / 409.4 MB, free: 11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.004543, allocations: 23.91 kB / 409.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.004597, allocations: 31.92 kB / 409.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.00477, allocations: 115.6 kB / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004773, allocations: 0 / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.004774, allocations: 0 / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.004781, allocations: 3.938 kB / 409.5 MB, free: 10.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006384/0.00542, allocations: 355.6 kB / 409.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.005467, allocations: 8.031 kB / 409.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.005511, allocations: 38.75 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.005549, allocations: 8.891 kB / 409.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.005742, allocations: 155.8 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.005751, allocations: 4.375 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.00578, allocations: 20.3 kB / 410.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.005962, allocations: 86.22 kB / 410.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.005974, allocations: 192 / 410.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.005991, allocations: 12.11 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.005999, allocations: 4 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.006088, allocations: 47.91 kB / 410.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.006559, allocations: 315.7 kB / 410.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.006672, allocations: 58.5 kB / 410.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.006717, allocations: 28.98 kB / 410.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.006739, allocations: 0 / 410.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.00691, allocations: 99.28 kB / 410.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.006912, allocations: 0 / 410.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002805/0.007193, allocations: 129.5 kB / 410.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.007237, allocations: 55.41 kB / 410.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.007336, allocations: 137.8 kB / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.007351, allocations: 29.7 kB / 411.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.00741, allocations: 104.4 kB / 411.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.007444, allocations: 35.72 kB / 411.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.007484, allocations: 25.72 kB / 411.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.007589, allocations: 326.8 kB / 411.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.007637, allocations: 27.98 kB / 411.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.007705, allocations: 79.7 kB / 411.7 MB, free: 8.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.007833, allocations: 131.6 kB / 411.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007835, allocations: 0 / 411.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001649/0.008, allocations: 137.5 kB / 411.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.008013, allocations: 4 kB / 411.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.00802, allocations: 4 kB / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.008034, allocations: 384 / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.008122, allocations: 31.92 kB / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.00813, allocations: 4 kB / 412 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.008171, allocations: 15.89 kB / 412 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.008182, allocations: 15.86 kB / 412 MB, free: 8.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.092e-05/0.008263, allocations: 129.7 kB / 412.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.008274, allocations: 12.05 kB / 412.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.008308, allocations: 12.78 kB / 412.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00831, allocations: 0 / 412.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.008314, allocations: 0 / 412.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.008321, allocations: 3.984 kB / 412.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.00844, allocations: 160.7 kB / 412.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008441, allocations: 0 / 412.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.008504, allocations: 15.98 kB / 412.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.008507, allocations: 0 / 412.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.008519, allocations: 0 / 412.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008519, allocations: 4 kB / 412.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.008522, allocations: 4 kB / 412.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.008753, allocations: 172.9 kB / 412.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.008768, allocations: 15.91 kB / 412.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.008785, allocations: 4 kB / 412.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.008813, allocations: 4 kB / 412.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.008853, allocations: 7.922 kB / 412.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.00886, allocations: 4 kB / 412.5 MB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.008918, allocations: 110.2 kB / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008918, allocations: 0 / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.009076, allocations: 28 kB / 412.7 MB, free: 7.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004158/0.009492, allocations: 0.6944 MB / 413.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.009638, allocations: 75.95 kB / 413.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.009641, allocations: 4 kB / 413.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.00969, allocations: 27.98 kB / 413.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.009841, allocations: 16.45 kB / 413.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.01111, allocations: 1.65 MB / 415.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.01117, allocations: 88.3 kB / 415.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01121, allocations: 16.36 kB / 415.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.01127, allocations: 32.48 kB / 415.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01127, allocations: 4 kB / 415.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.03124, allocations: 3.013 MB / 418.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.025, allocations: 11.2 kB / 418.3 MB, free: 1.527 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0003996 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mean1.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:time,mean1.x,rootMeanSquare.mean.x [Calling sys.exit(0), Time elapsed: 9.306406615301967]