Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 108.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 73.73 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003081/0.1149, allocations: 1.752 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1159, allocations: 0.5728 MB / 481.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.116, allocations: 3.938 kB / 481.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1162, allocations: 7.922 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.1163, allocations: 15.86 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1166, allocations: 59.88 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1168, allocations: 115.7 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1169, allocations: 33.09 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1171, allocations: 51.73 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1172, allocations: 51.75 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1172, allocations: 12 kB / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.1173, allocations: 16 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.1173, allocations: 27.92 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.1174, allocations: 55.72 kB / 482.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1176, allocations: 119.9 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1176, allocations: 0 / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1176, allocations: 4 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1176, allocations: 0 / 482.5 MB, free: 2.609 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007349/0.1184, allocations: 423 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1184, allocations: 8.031 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.1185, allocations: 42.73 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.1187, allocations: 24.83 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.119, allocations: 219.5 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.119, allocations: 8.375 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1191, allocations: 11.94 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1193, allocations: 93.58 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1193, allocations: 3.984 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1194, allocations: 4 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1194, allocations: 4 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1196, allocations: 51.95 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1203, allocations: 388.5 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1205, allocations: 70.47 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.1205, allocations: 28.95 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1206, allocations: 0 / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1208, allocations: 95.34 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.1208, allocations: 0 / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003952/0.1212, allocations: 129.4 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.1213, allocations: 63.33 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1215, allocations: 145.9 kB / 484.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1215, allocations: 29.7 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.1216, allocations: 104 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.1216, allocations: 35.53 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.1217, allocations: 33.7 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1219, allocations: 318.8 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.1219, allocations: 31.97 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1221, allocations: 75.72 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1223, allocations: 127.6 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1223, allocations: 0 / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002773/0.1226, allocations: 145.3 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1226, allocations: 6.656 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1226, allocations: 4 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1227, allocations: 4.094 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1228, allocations: 27.91 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1228, allocations: 4 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.1229, allocations: 16.05 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1229, allocations: 8 kB / 485.2 MB, free: 15.6 MB / 366.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_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * 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.0001102/0.123, allocations: 136.5 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1231, allocations: 15.84 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1231, allocations: 13.08 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1231, allocations: 4 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1231, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1231, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1233, allocations: 201.5 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1233, allocations: 4 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1234, allocations: 23.92 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1235, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1235, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1235, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1235, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.1238, allocations: 168.8 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1239, allocations: 88.98 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1239, allocations: 4.062 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.124, allocations: 7.984 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.124, allocations: 8 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1241, allocations: 11.98 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.122e-05/0.1241, allocations: 106.6 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1241, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1244, allocations: 27.88 kB / 486 MB, free: 14.7 MB / 366.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_last,rootMeanSquare.mean.y_last) * 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.0005948/0.125, allocations: 0.706 MB / 486.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1253, allocations: 76.03 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1253, allocations: 3.938 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.1254, allocations: 36.47 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1256, allocations: 15.94 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1276, allocations: 1.723 MB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1279, allocations: 0.708 MB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.128, allocations: 8.547 kB / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.1281, allocations: 35.42 kB / 489.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1281, allocations: 0 / 489.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1422, allocations: 2.323 MB / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.1424, allocations: 191.7 kB / 491.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.068, allocations: 0 / 491.8 MB, free: 8.715 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches