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.00165/0.00165, allocations: 109 kB / 20.48 MB, free: 1.492 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.002649/0.002649, allocations: 214 kB / 23.79 MB, free: 4.707 MB / 14.72 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 1.483/1.483, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.294/0.294, allocations: 44.25 MB / 331.1 MB, free: 9.602 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 68.47 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1401, allocations: 61.04 MB / 0.5169 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004426/0.1445, allocations: 1.669 MB / 0.5185 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1457, allocations: 0.5941 MB / 0.5191 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1458, allocations: 7.938 kB / 0.5191 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1459, allocations: 11.88 kB / 0.5191 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.146, allocations: 15.84 kB / 0.5191 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1463, allocations: 59.81 kB / 0.5192 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1466, allocations: 103.7 kB / 0.5193 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1467, allocations: 32.19 kB / 0.5193 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1469, allocations: 47.84 kB / 0.5194 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.147, allocations: 51.7 kB / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.147, allocations: 8 kB / 0.5194 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.1471, allocations: 8 kB / 0.5194 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1471, allocations: 31.91 kB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.1472, allocations: 43.8 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1474, allocations: 103.6 kB / 0.5196 GB, free: 4.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1474, allocations: 0 / 0.5196 GB, free: 4.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1474, allocations: 3.938 kB / 0.5196 GB, free: 4.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1474, allocations: 0 / 0.5196 GB, free: 4.555 MB / 398.1 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.0009018/0.1483, allocations: 343.7 kB / 0.5199 GB, free: 4.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1484, allocations: 12.03 kB / 0.52 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.108e-05/0.1484, allocations: 8.188 kB / 0.52 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.1485, allocations: 34.75 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1485, allocations: 12.84 kB / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1488, allocations: 154.3 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1488, allocations: 4.375 kB / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1488, allocations: 12.36 kB / 0.5202 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1491, allocations: 85.59 kB / 0.5203 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1491, allocations: 0 / 0.5203 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1491, allocations: 11.98 kB / 0.5203 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1491, allocations: 4 kB / 0.5203 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1493, allocations: 47.91 kB / 0.5203 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.15, allocations: 331.7 kB / 0.5206 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1501, allocations: 62.48 kB / 0.5207 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.1502, allocations: 28.98 kB / 0.5207 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1502, allocations: 0 / 0.5207 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.1505, allocations: 95.34 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1505, allocations: 0 / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000383/0.1509, allocations: 133.5 kB / 0.5209 GB, free: 3.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.151, allocations: 59.34 kB / 0.521 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1511, allocations: 142.8 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1511, allocations: 29.7 kB / 0.5212 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.1512, allocations: 108.3 kB / 0.5213 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1513, allocations: 23.81 kB / 0.5213 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.1513, allocations: 33.7 kB / 0.5213 GB, free: 2.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1515, allocations: 330.8 kB / 0.5216 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.1516, allocations: 23.98 kB / 0.5217 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1517, allocations: 83.66 kB / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1519, allocations: 119.6 kB / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1519, allocations: 0 / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002766/0.1522, allocations: 145.4 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1522, allocations: 8 kB / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1522, allocations: 3.984 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1523, allocations: 4 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1524, allocations: 31.86 kB / 0.522 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1524, allocations: 0 / 0.522 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.1525, allocations: 8.172 kB / 0.522 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1525, allocations: 16 kB / 0.5221 GB, free: 1.801 MB / 398.1 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 0.0001254/0.1526, allocations: 125.8 kB / 0.5222 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1526, allocations: 11.94 kB / 0.5222 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1527, allocations: 8.719 kB / 0.5222 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1527, allocations: 7.938 kB / 0.5222 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1527, allocations: 0 / 0.5222 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1527, allocations: 0 / 0.5222 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1529, allocations: 176.6 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1529, allocations: 8 kB / 0.5224 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.153, allocations: 11.98 kB / 0.5224 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.153, allocations: 4 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.153, allocations: 0 / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.153, allocations: 3.938 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.153, allocations: 0 / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1534, allocations: 169.3 kB / 0.5226 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.1534, allocations: 12.05 kB / 0.5226 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1534, allocations: 4 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1535, allocations: 11.92 kB / 0.5226 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1535, allocations: 4 kB / 0.5226 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1535, allocations: 7.984 kB / 0.5226 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.151e-05/0.1536, allocations: 105.1 kB / 0.5227 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1536, allocations: 0 / 0.5227 GB, free: 1.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1539, allocations: 19.94 kB / 0.5227 GB, free: 1.051 MB / 398.1 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.0007495/0.1546, allocations: 0.7099 MB / 0.5234 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1549, allocations: 71.84 kB / 0.5235 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1549, allocations: 0 / 0.5235 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.155, allocations: 32.48 kB / 0.5235 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1552, allocations: 19.92 kB / 0.5235 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.1574, allocations: 1.655 MB / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.1578, allocations: 0.7041 MB / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.1579, allocations: 8.781 kB / 0.5258 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.1579, allocations: 27.42 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1579, allocations: 4 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.1827, allocations: 2.516 MB / 0.5283 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.63, allocations: 15.39 kB / 0.5283 GB, free: 11.11 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --stepSize=0.0003996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.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: 15.132250367023516]