Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 111.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 186.1 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3539, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006324/0.3602, allocations: 5.766 MB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004369/0.3646, allocations: 2.286 MB / 0.5274 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.3653, allocations: 41.12 kB / 0.5275 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.3658, allocations: 224.7 kB / 0.5277 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.3663, allocations: 182.4 kB / 0.5278 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3674, allocations: 462.2 kB / 0.5283 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3688, allocations: 1.112 MB / 0.5294 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009444/0.3697, allocations: 0.609 MB / 0.53 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.3703, allocations: 375.9 kB / 0.5303 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.3708, allocations: 391.3 kB / 0.5307 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3709, allocations: 96.69 kB / 0.5308 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.3712, allocations: 148.4 kB / 0.5309 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.3715, allocations: 216.4 kB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.3719, allocations: 474.4 kB / 0.5316 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.3735, allocations: 1.273 MB / 0.5328 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3735, allocations: 4 kB / 0.5328 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3735, allocations: 0 / 0.5328 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.3736, allocations: 1.125 kB / 0.5328 GB, free: 10.23 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.001755/0.3753, allocations: 1.158 MB / 0.534 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3754, allocations: 9.344 kB / 0.534 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.3756, allocations: 110.6 kB / 0.5341 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.3765, allocations: 0.5935 MB / 0.5347 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.3766, allocations: 66.19 kB / 0.5347 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3767, allocations: 95.8 kB / 0.5348 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3782, allocations: 0.8855 MB / 0.5357 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.3783, allocations: 18.09 kB / 0.5357 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.3784, allocations: 37.34 kB / 0.5357 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3784, allocations: 26.75 kB / 0.5358 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3795, allocations: 0.5243 MB / 0.5363 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.3831, allocations: 3.61 MB / 0.5398 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.3838, allocations: 224.4 kB / 0.54 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.384, allocations: 103.8 kB / 0.5401 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.3843, allocations: 245.9 kB / 0.5403 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3843, allocations: 45 kB / 0.5404 GB, free: 4.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.3843, allocations: 0 / 0.5404 GB, free: 4.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002581/0.3869, allocations: 1.295 MB / 0.5417 GB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.387, allocations: 58.78 kB / 0.5417 GB, free: 3.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.3874, allocations: 407.2 kB / 0.5421 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3874, allocations: 30.83 kB / 0.5421 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.3877, allocations: 482.5 kB / 0.5426 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.3878, allocations: 142.8 kB / 0.5427 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.388, allocations: 100.6 kB / 0.5428 GB, free: 2.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3881, allocations: 358 kB / 0.5432 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.3883, allocations: 117.3 kB / 0.5433 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.3886, allocations: 312.5 kB / 0.5436 GB, free: 1.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.3892, allocations: 459.4 kB / 0.544 GB, free: 1.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3892, allocations: 1.438 kB / 0.544 GB, free: 1.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007879/0.39, allocations: 0.5157 MB / 0.5445 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3901, allocations: 13.77 kB / 0.5445 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3901, allocations: 6.438 kB / 0.5445 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.3903, allocations: 39.69 kB / 0.5446 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.3907, allocations: 121.9 kB / 0.5447 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003798/0.3911, allocations: 0.5599 MB / 0.5452 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.3913, allocations: 16.34 kB / 0.5453 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.3913, allocations: 30.09 kB / 0.5453 GB, free: 152 kB / 398.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.0003052/0.3916, allocations: 232.3 kB / 0.5455 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.3917, allocations: 54.7 kB / 0.5456 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.3924, allocations: 330.7 kB / 0.5459 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3924, allocations: 7.984 kB / 0.5459 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3924, allocations: 5.875 kB / 0.5459 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.3925, allocations: 115.3 kB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.3926, allocations: 6.25 kB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3928, allocations: 11.23 kB / 0.546 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.3928, allocations: 25.34 kB / 0.546 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009773/0.3938, allocations: 425.4 kB / 0.5464 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008649/0.3947, allocations: 0.5954 MB / 0.547 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002358/0.3949, allocations: 118.2 kB / 0.5471 GB, free: 14.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.3953, allocations: 271.1 kB / 0.5474 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Backend: time 7.62e-07/0.3953, allocations: 4 kB / 0.5474 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.3962, allocations: 350.6 kB / 0.5477 GB, free: 14.35 MB / 414.1 MB Notification: Performance of SimCode: time 0.002726/0.3989, allocations: 2.111 MB / 0.5498 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.01092/0.4099, allocations: 5.095 MB / 0.5548 GB, free: 7.121 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches