Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001986, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 75.86 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4434, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004023/0.4475, allocations: 2.624 MB / 0.5335 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.449, allocations: 0.7328 MB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.4492, allocations: 9.438 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.4494, allocations: 43.64 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.4496, allocations: 84.83 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.4499, allocations: 98.98 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.4503, allocations: 335.9 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.4505, allocations: 82.09 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.4507, allocations: 131.9 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.451, allocations: 128.7 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.451, allocations: 22.12 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.4511, allocations: 28.88 kB / 0.5352 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.4512, allocations: 64.22 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.4513, allocations: 145.4 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.4518, allocations: 307.9 kB / 0.5357 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4518, allocations: 3.984 kB / 0.5357 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4518, allocations: 0 / 0.5357 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4518, allocations: 1.156 kB / 0.5357 GB, free: 9.969 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001029/0.4528, allocations: 0.5979 MB / 0.5362 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4529, allocations: 9.844 kB / 0.5363 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.4531, allocations: 56.03 kB / 0.5363 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.4536, allocations: 284.9 kB / 0.5366 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.4536, allocations: 23.17 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.4537, allocations: 29.67 kB / 0.5366 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.4542, allocations: 280.9 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.4543, allocations: 14.09 kB / 0.5369 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4543, allocations: 7.125 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4543, allocations: 6.438 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.4548, allocations: 189.2 kB / 0.5371 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4564, allocations: 1.311 MB / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4569, allocations: 241.6 kB / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4571, allocations: 104.9 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4572, allocations: 6.281 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4572, allocations: 37.72 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.4572, allocations: 4 kB / 0.5388 GB, free: 7.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.00278/0.46, allocations: 1.578 MB / 0.5403 GB, free: 5.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.4601, allocations: 140.9 kB / 0.5404 GB, free: 5.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.4604, allocations: 228.1 kB / 0.5407 GB, free: 5.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4604, allocations: 31.17 kB / 0.5407 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4606, allocations: 178.9 kB / 0.5409 GB, free: 5.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.4607, allocations: 128.5 kB / 0.541 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4608, allocations: 68.44 kB / 0.541 GB, free: 5.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.461, allocations: 336.4 kB / 0.5414 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.4613, allocations: 101.3 kB / 0.5415 GB, free: 4.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.4616, allocations: 240 kB / 0.5417 GB, free: 4.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.4623, allocations: 378.1 kB / 0.5421 GB, free: 4.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4623, allocations: 1.156 kB / 0.5421 GB, free: 4.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007645/0.4631, allocations: 396.3 kB / 0.5424 GB, free: 4.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4631, allocations: 6.938 kB / 0.5424 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4631, allocations: 4.938 kB / 0.5424 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4631, allocations: 10.56 kB / 0.5425 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.4635, allocations: 106.6 kB / 0.5426 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4635, allocations: 6.438 kB / 0.5426 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.4638, allocations: 22.02 kB / 0.5426 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.4638, allocations: 18.56 kB / 0.5426 GB, free: 4.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001377/0.4639, allocations: 151.8 kB / 0.5427 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.464, allocations: 37.7 kB / 0.5428 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.091e-05/0.4641, allocations: 36.94 kB / 0.5428 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4641, allocations: 3.969 kB / 0.5428 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4641, allocations: 1.219 kB / 0.5428 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4642, allocations: 5.281 kB / 0.5428 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4657, allocations: 0.9811 MB / 0.5438 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4657, allocations: 1.344 kB / 0.5438 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.4661, allocations: 81.34 kB / 0.5439 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.4661, allocations: 6.234 kB / 0.5439 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4661, allocations: 12.19 kB / 0.5439 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4662, allocations: 6.188 kB / 0.5439 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4662, allocations: 2.062 kB / 0.5439 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4673, allocations: 0.726 MB / 0.5446 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.4674, allocations: 105.1 kB / 0.5447 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.4675, allocations: 15.23 kB / 0.5447 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.4678, allocations: 19.05 kB / 0.5447 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.4678, allocations: 26.12 kB / 0.5448 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4679, allocations: 8.125 kB / 0.5448 GB, free: 2.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.4681, allocations: 163 kB / 0.5449 GB, free: 2.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.4681, allocations: 0 / 0.5449 GB, free: 2.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000532/0.4686, allocations: 72.81 kB / 0.545 GB, free: 2.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001526/0.4688, allocations: 99.75 kB / 0.5451 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.4696, allocations: 282.6 kB / 0.5454 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4696, allocations: 0 / 0.5454 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.4699, allocations: 135.5 kB / 0.5455 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.4706, allocations: 40.77 kB / 0.5455 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4721, allocations: 0.8905 MB / 0.5464 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4724, allocations: 0.7681 MB / 0.5471 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.4726, allocations: 30.97 kB / 0.5472 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.4727, allocations: 27.44 kB / 0.5472 GB, free: 272 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4727, allocations: 0 / 0.5472 GB, free: 272 kB / 398.1 MB Notification: Performance of Templates: time 0.006053/0.4787, allocations: 2.476 MB / 0.5496 GB, free: 13.81 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches