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.000852/0.000852, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001528/0.001528, allocations: 170.3 kB / 23.21 MB, free: 1.352 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.8879/0.8879, allocations: 158.6 MB / 185 MB, free: 3.047 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.1269/0.1269, allocations: 32.38 MB / 269.6 MB, free: 14.95 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.573e-06/1.573e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.359e-05, allocations: 9.656 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001852/0.001865, allocations: 1.625 MB / 408.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.002617, allocations: 0.55 MB / 409 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.002678, allocations: 3.938 kB / 409 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.00277, allocations: 11.86 kB / 409 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.002807, allocations: 19.86 kB / 409 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.003035, allocations: 59.75 kB / 409.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003163, allocations: 107.7 kB / 409.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003274, allocations: 19.98 kB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.003367, allocations: 71.75 kB / 409.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.003457, allocations: 35.88 kB / 409.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.00348, allocations: 8 kB / 409.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.003493, allocations: 8 kB / 409.3 MB, free: 11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.003529, allocations: 23.91 kB / 409.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.00357, allocations: 31.92 kB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003691, allocations: 111.7 kB / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003694, allocations: 3.984 kB / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003695, allocations: 0 / 409.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003699, allocations: 0 / 409.5 MB, free: 10.83 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.0004797/0.004178, allocations: 351.6 kB / 409.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.004213, allocations: 12.02 kB / 409.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.004241, allocations: 34.75 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.004271, allocations: 12.89 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004427, allocations: 164 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.004437, allocations: 4.375 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.004456, allocations: 12.31 kB / 410.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.004602, allocations: 90.2 kB / 410.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.004612, allocations: 192 / 410.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.004625, allocations: 8.125 kB / 410.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.004631, allocations: 4 kB / 410.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.004715, allocations: 47.95 kB / 410.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.0051, allocations: 323.6 kB / 410.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005202, allocations: 54.56 kB / 410.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.005242, allocations: 28.98 kB / 410.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.005261, allocations: 3.938 kB / 410.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.005395, allocations: 99.34 kB / 410.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.005396, allocations: 4 kB / 410.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002336/0.00563, allocations: 129.5 kB / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.005664, allocations: 51.41 kB / 410.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.005744, allocations: 137.8 kB / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.005759, allocations: 29.7 kB / 411.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.005805, allocations: 104.4 kB / 411.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.00583, allocations: 35.72 kB / 411.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.005864, allocations: 25.72 kB / 411.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.005944, allocations: 326.8 kB / 411.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.005986, allocations: 27.98 kB / 411.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.006058, allocations: 83.64 kB / 411.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.006169, allocations: 123.6 kB / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006171, allocations: 0 / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001421/0.006313, allocations: 141.4 kB / 411.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.006323, allocations: 4 kB / 411.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006328, allocations: 4 kB / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.00634, allocations: 4.375 kB / 411.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.006408, allocations: 19.98 kB / 412 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.006416, allocations: 7.938 kB / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.006454, allocations: 15.89 kB / 412 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.006461, allocations: 15.81 kB / 412 MB, free: 8.09 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 6.983e-05/0.006531, allocations: 130 kB / 412.1 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.006542, allocations: 7.953 kB / 412.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.006568, allocations: 12.78 kB / 412.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.00657, allocations: 0 / 412.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006573, allocations: 0 / 412.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006576, allocations: 0 / 412.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.006673, allocations: 172.6 kB / 412.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006674, allocations: 96 / 412.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.006723, allocations: 11.98 kB / 412.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006725, allocations: 3.984 kB / 412.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.006734, allocations: 4 kB / 412.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006734, allocations: 4 kB / 412.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006735, allocations: 0 / 412.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.006932, allocations: 172.9 kB / 412.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.006944, allocations: 11.92 kB / 412.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.00696, allocations: 7.984 kB / 412.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.006995, allocations: 4 kB / 412.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.007022, allocations: 7.984 kB / 412.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.007029, allocations: 0 / 412.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.007074, allocations: 110.2 kB / 412.6 MB, free: 7.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007074, allocations: 4.062 kB / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.007212, allocations: 23.94 kB / 412.7 MB, free: 7.344 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.0003274/0.007539, allocations: 0.6905 MB / 413.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.007662, allocations: 83.95 kB / 413.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007664, allocations: 0 / 413.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.007711, allocations: 32.42 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.0001234/0.007834, allocations: 23.95 kB / 413.5 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.008948, allocations: 1.64 MB / 415.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.009002, allocations: 92.31 kB / 415.2 MB, free: 4.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.009032, allocations: 12.34 kB / 415.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.009081, allocations: 36.48 kB / 415.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.009081, allocations: 0 / 415.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.02353, allocations: 3.016 MB / 418.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/6.424, allocations: 15.36 kB / 418.3 MB, free: 1.531 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.32905898988247]