Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 114.8 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.001031/0.001031, allocations: 204 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.788/1.788, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4858/0.4858, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.8232, allocations: 62.43 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.01681/0.8401, allocations: 5.785 MB / 0.5373 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.8517, allocations: 2.357 MB / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004118/0.856, allocations: 37.75 kB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.8578, allocations: 225.6 kB / 0.5398 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.8599, allocations: 189.5 kB / 0.54 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.8629, allocations: 466.5 kB / 0.5405 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.867, allocations: 1.127 MB / 0.5416 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.8693, allocations: 0.6126 MB / 0.5422 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.8709, allocations: 377.9 kB / 0.5425 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.8719, allocations: 392.6 kB / 0.5429 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.8723, allocations: 94.72 kB / 0.543 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.8731, allocations: 160 kB / 0.5431 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.8736, allocations: 215.5 kB / 0.5434 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.8747, allocations: 467.4 kB / 0.5438 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.878, allocations: 1.287 MB / 0.5451 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.878, allocations: 0 / 0.5451 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.502e-06/0.8781, allocations: 3.984 kB / 0.5451 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.8781, allocations: 1.406 kB / 0.5451 GB, free: 3.188 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003545/0.8817, allocations: 1.158 MB / 0.5462 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.668e-05/0.8818, allocations: 8.781 kB / 0.5462 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.8825, allocations: 119.7 kB / 0.5463 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.8847, allocations: 0.5963 MB / 0.5469 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.8848, allocations: 70.25 kB / 0.547 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.8852, allocations: 99.97 kB / 0.5471 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.8881, allocations: 0.8802 MB / 0.5479 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-05/0.8882, allocations: 11.98 kB / 0.5479 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.8883, allocations: 36 kB / 0.548 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.8884, allocations: 24 kB / 0.548 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.8903, allocations: 0.5229 MB / 0.5485 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/0.8975, allocations: 3.616 MB / 0.552 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.8986, allocations: 234 kB / 0.5523 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.8989, allocations: 108.8 kB / 0.5524 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.8993, allocations: 247.3 kB / 0.5526 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.8994, allocations: 38.55 kB / 0.5526 GB, free: 11.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 6.412e-06/0.8994, allocations: 0 / 0.5526 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.00442/0.9039, allocations: 1.31 MB / 0.5539 GB, free: 10.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.9039, allocations: 55.41 kB / 0.554 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/0.9048, allocations: 405.8 kB / 0.5543 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.9048, allocations: 33.7 kB / 0.5544 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.9054, allocations: 479.5 kB / 0.5548 GB, free: 9.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.9057, allocations: 138.9 kB / 0.555 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.9059, allocations: 98.2 kB / 0.5551 GB, free: 9.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.9062, allocations: 362.8 kB / 0.5554 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.9066, allocations: 113.1 kB / 0.5555 GB, free: 8.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.9073, allocations: 306 kB / 0.5558 GB, free: 8.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.9084, allocations: 463.6 kB / 0.5563 GB, free: 7.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9084, allocations: 3.938 kB / 0.5563 GB, free: 7.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001548/0.91, allocations: 0.5135 MB / 0.5568 GB, free: 7.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.91, allocations: 8 kB / 0.5568 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.9101, allocations: 16.06 kB / 0.5568 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.9104, allocations: 32.84 kB / 0.5568 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.9112, allocations: 131.8 kB / 0.5569 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008087/0.912, allocations: 0.5562 MB / 0.5575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.9124, allocations: 20 kB / 0.5575 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.9125, allocations: 27.98 kB / 0.5575 GB, free: 6.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007087/0.9133, allocations: 229.7 kB / 0.5577 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.9134, allocations: 55.59 kB / 0.5578 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.9145, allocations: 326.9 kB / 0.5581 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.9146, allocations: 3.984 kB / 0.5581 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.9146, allocations: 0 / 0.5581 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.9148, allocations: 116.8 kB / 0.5582 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.9149, allocations: 16 kB / 0.5582 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.9151, allocations: 8 kB / 0.5582 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.9152, allocations: 19.91 kB / 0.5583 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001579/0.9168, allocations: 429.8 kB / 0.5587 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00157/0.9184, allocations: 0.6092 MB / 0.5593 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004745/0.9189, allocations: 107.9 kB / 0.5594 GB, free: 4.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.9197, allocations: 271.1 kB / 0.5596 GB, free: 4.176 MB / 414.1 MB Notification: Performance of Backend: time 1.051e-06/0.9197, allocations: 0 / 0.5596 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.9214, allocations: 351.6 kB / 0.56 GB, free: 3.824 MB / 414.1 MB Notification: Performance of SimCode: time 0.005686/0.9271, allocations: 2.118 MB / 0.562 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Templates: time 0.02151/0.9487, allocations: 5.141 MB / 0.5671 GB, free: 12.54 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches