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: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3407, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002773/0.3435, allocations: 1.695 MB / 0.5333 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.3445, allocations: 0.5869 MB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3446, allocations: 1.531 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.3447, allocations: 15.8 kB / 0.5339 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.3448, allocations: 22.53 kB / 0.5339 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3451, allocations: 60.19 kB / 0.534 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3452, allocations: 120.7 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3454, allocations: 37.02 kB / 0.5341 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3456, allocations: 58.97 kB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3457, allocations: 52.12 kB / 0.5342 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3457, allocations: 11 kB / 0.5342 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.3458, allocations: 19.12 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.3458, allocations: 24.05 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.3459, allocations: 52.11 kB / 0.5343 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3461, allocations: 123.1 kB / 0.5344 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3461, allocations: 3.938 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3461, allocations: 0 / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3461, allocations: 1.375 kB / 0.5345 GB, free: 11.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00073/0.3469, allocations: 424.7 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3469, allocations: 13.56 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.3471, allocations: 26.58 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3474, allocations: 207.4 kB / 0.5351 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3474, allocations: 12.48 kB / 0.5351 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.3475, allocations: 11 kB / 0.5351 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3477, allocations: 90.52 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3477, allocations: 1.375 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3477, allocations: 5.375 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3478, allocations: 1.375 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3479, allocations: 54.03 kB / 0.5353 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.3486, allocations: 387.4 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3488, allocations: 59.25 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.3488, allocations: 29.27 kB / 0.5357 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3489, allocations: 5.375 kB / 0.5357 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.3491, allocations: 99.38 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.3491, allocations: 3.938 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003587/0.3494, allocations: 130.4 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3495, allocations: 56.78 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3496, allocations: 142 kB / 0.5361 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3497, allocations: 34.78 kB / 0.5362 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.3497, allocations: 110 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.3498, allocations: 27.33 kB / 0.5363 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3498, allocations: 39.8 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.35, allocations: 321.3 kB / 0.5366 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.35, allocations: 26.7 kB / 0.5367 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3502, allocations: 85.89 kB / 0.5367 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3504, allocations: 128.9 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3504, allocations: 1.219 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002595/0.3506, allocations: 141.2 kB / 0.537 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3507, allocations: 9.438 kB / 0.537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3507, allocations: 6.359 kB / 0.537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3507, allocations: 2.906 kB / 0.537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3509, allocations: 25.92 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3509, allocations: 3.5 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.351, allocations: 8.344 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.351, allocations: 9.688 kB / 0.5371 GB, free: 8.957 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_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.0001219/0.3511, allocations: 129.8 kB / 0.5372 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3511, allocations: 12.62 kB / 0.5372 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.3512, allocations: 15.11 kB / 0.5372 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3512, allocations: 0 / 0.5372 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3512, allocations: 1.375 kB / 0.5372 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3513, allocations: 87.39 kB / 0.5373 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3513, allocations: 1.094 kB / 0.5373 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3514, allocations: 11.36 kB / 0.5373 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3514, allocations: 2.312 kB / 0.5373 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003433/0.3518, allocations: 201.4 kB / 0.5375 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004001/0.3522, allocations: 328.1 kB / 0.5378 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.166e-05/0.3523, allocations: 28.3 kB / 0.5379 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.3524, allocations: 116.2 kB / 0.538 GB, free: 8.16 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.3524, allocations: 4.062 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.3529, allocations: 135.8 kB / 0.5381 GB, free: 8.062 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006612/0.3535, allocations: 0.6874 MB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Templates: time 0.004459/0.358, allocations: 1.287 MB / 0.54 GB, free: 6.738 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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