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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 76.36 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009614/0.0009614, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9283/0.9283, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2504/0.2504, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.168e-05, allocations: 6.219 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.1796/0.1796, allocations: 1.659 MB / 443.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000819/0.1804, allocations: 0.5672 MB / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.1805, allocations: 2.844 kB / 444.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.768e-05/0.1806, allocations: 11.81 kB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.1806, allocations: 17.84 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1809, allocations: 72.91 kB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1811, allocations: 119.3 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1812, allocations: 20.27 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1814, allocations: 74.22 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1815, allocations: 36.16 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1815, allocations: 11.66 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.1816, allocations: 22.53 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.1816, allocations: 26.97 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.1817, allocations: 34.55 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1818, allocations: 129.1 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1818, allocations: 0 / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1818, allocations: 3.938 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1818, allocations: 2.844 kB / 444.9 MB, free: 43.17 MB / 410.7 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.0005713/0.1824, allocations: 369.9 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1824, allocations: 11.56 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.1825, allocations: 44.88 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.1826, allocations: 21.75 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1828, allocations: 153.2 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1828, allocations: 2.969 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1828, allocations: 12.75 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.183, allocations: 105.2 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.183, allocations: 0 / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.183, allocations: 7.047 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.183, allocations: 2.875 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.1831, allocations: 46.23 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1834, allocations: 339.2 kB / 446 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.1835, allocations: 56.7 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.1836, allocations: 26.52 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1836, allocations: 0 / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.1837, allocations: 104.3 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.1837, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002185/0.1839, allocations: 128.7 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.184, allocations: 58.09 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.184, allocations: 145.7 kB / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.184, allocations: 29.33 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.1841, allocations: 106.7 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.1841, allocations: 36.19 kB / 446.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1841, allocations: 30.67 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.1841, allocations: 320.9 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.1842, allocations: 25.36 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.1842, allocations: 87.94 kB / 447.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.1843, allocations: 125.8 kB / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1843, allocations: 0 / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001481/0.1845, allocations: 140.3 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1845, allocations: 5.938 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1845, allocations: 4.406 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1845, allocations: 9.844 kB / 447.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1846, allocations: 27.16 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1846, allocations: 10.81 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.1846, allocations: 17.27 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1847, allocations: 5.906 kB / 447.5 MB, free: 41.4 MB / 410.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_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 5.993e-05/0.1847, allocations: 132.7 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1847, allocations: 9.734 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.1848, allocations: 11.31 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1848, allocations: 3.938 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1848, allocations: 3.188 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1848, allocations: 4 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.143e-05/0.1849, allocations: 163.3 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1849, allocations: 5.75 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1849, allocations: 12.09 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1849, allocations: 0 / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1849, allocations: 8.594 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1849, allocations: 3.938 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1849, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1851, allocations: 170.3 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.1851, allocations: 17.64 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1852, allocations: 0 / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.1852, allocations: 14.09 kB / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1852, allocations: 6.188 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1852, allocations: 2.875 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.1853, allocations: 120.2 kB / 448.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1853, allocations: 2.75 kB / 448.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.1854, allocations: 16.06 kB / 448.2 MB, free: 40.87 MB / 410.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_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.0003215/0.1858, allocations: 0.7063 MB / 448.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1859, allocations: 75.14 kB / 449 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1859, allocations: 0 / 449 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.186, allocations: 37.38 kB / 449 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1862, allocations: 14.66 kB / 449 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1872, allocations: 1.674 MB / 450.7 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.1872, allocations: 93.36 kB / 450.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.1872, allocations: 11.8 kB / 450.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1873, allocations: 36.7 kB / 450.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1873, allocations: 0 / 450.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.2035, allocations: 3.196 MB / 454 MB, free: 37.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.176, allocations: 12.81 kB / 454 MB, free: 37.68 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_trunk_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.341567517258227]