Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 178.1 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 100.2 kB / 295.1 MB, free: 9.465 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3334/0.3334, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 8 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3558, allocations: 61.91 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004482/0.3603, allocations: 4.98 MB / 0.5176 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.3646, allocations: 4.43 MB / 0.5219 GB, free: 30.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.3657, allocations: 34.62 kB / 0.522 GB, free: 30.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.3662, allocations: 176.6 kB / 0.5221 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.3667, allocations: 149.3 kB / 0.5223 GB, free: 29.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3678, allocations: 396.7 kB / 0.5226 GB, free: 29.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.3687, allocations: 1.041 MB / 0.5237 GB, free: 29.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.3694, allocations: 0.5454 MB / 0.5242 GB, free: 28.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3697, allocations: 262.5 kB / 0.5244 GB, free: 28.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3699, allocations: 314.4 kB / 0.5247 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.37, allocations: 30.66 kB / 0.5248 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3702, allocations: 81.86 kB / 0.5249 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3703, allocations: 136.3 kB / 0.525 GB, free: 28.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3706, allocations: 413.4 kB / 0.5254 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.3715, allocations: 1.123 MB / 0.5265 GB, free: 27.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3715, allocations: 3.938 kB / 0.5265 GB, free: 27.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3715, allocations: 0 / 0.5265 GB, free: 27.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3715, allocations: 2.969 kB / 0.5265 GB, free: 27.72 MB / 378.7 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.001326/0.3728, allocations: 0.9621 MB / 0.5274 GB, free: 27.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3729, allocations: 11.31 kB / 0.5274 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.373, allocations: 100.6 kB / 0.5275 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.3737, allocations: 0.5591 MB / 0.5281 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.3738, allocations: 67.19 kB / 0.5281 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3739, allocations: 100.6 kB / 0.5282 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3752, allocations: 0.8803 MB / 0.5291 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3753, allocations: 14.66 kB / 0.5291 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.3753, allocations: 40.66 kB / 0.5291 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3754, allocations: 22.62 kB / 0.5292 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.3762, allocations: 0.5198 MB / 0.5297 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3791, allocations: 3.645 MB / 0.5332 GB, free: 23.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.3797, allocations: 228.4 kB / 0.5335 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3798, allocations: 100.8 kB / 0.5336 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.38, allocations: 250.1 kB / 0.5338 GB, free: 22.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3801, allocations: 40.89 kB / 0.5338 GB, free: 22.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.545e-06/0.3801, allocations: 0 / 0.5338 GB, free: 22.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002203/0.3823, allocations: 1.289 MB / 0.5351 GB, free: 21.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3823, allocations: 64.59 kB / 0.5351 GB, free: 21.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.3827, allocations: 398.3 kB / 0.5355 GB, free: 21.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3828, allocations: 32.33 kB / 0.5356 GB, free: 21.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.383, allocations: 469.4 kB / 0.536 GB, free: 21.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.3831, allocations: 135.1 kB / 0.5361 GB, free: 20.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.3832, allocations: 10.56 kB / 0.5361 GB, free: 20.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3833, allocations: 365.2 kB / 0.5365 GB, free: 20.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3835, allocations: 114.1 kB / 0.5366 GB, free: 20.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.3838, allocations: 310.7 kB / 0.5369 GB, free: 20.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.3842, allocations: 465.7 kB / 0.5373 GB, free: 19.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3842, allocations: 0 / 0.5373 GB, free: 19.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000635/0.3849, allocations: 0.5128 MB / 0.5378 GB, free: 19.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3849, allocations: 7.938 kB / 0.5379 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3849, allocations: 9.406 kB / 0.5379 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.3851, allocations: 36.2 kB / 0.5379 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.3855, allocations: 127.8 kB / 0.538 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/0.3858, allocations: 0.5603 MB / 0.5386 GB, free: 19.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.386, allocations: 20.03 kB / 0.5386 GB, free: 19.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.3861, allocations: 28.59 kB / 0.5386 GB, free: 19.05 MB / 378.7 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.0003425/0.3864, allocations: 229.8 kB / 0.5388 GB, free: 18.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.3865, allocations: 52.44 kB / 0.5389 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.3871, allocations: 334.9 kB / 0.5392 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3871, allocations: 10.92 kB / 0.5392 GB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3871, allocations: 0 / 0.5392 GB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3871, allocations: 0 / 0.5392 GB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3884, allocations: 1.061 MB / 0.5402 GB, free: 18.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3884, allocations: 2.812 kB / 0.5402 GB, free: 18.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3887, allocations: 79.41 kB / 0.5403 GB, free: 18.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.3889, allocations: 32.84 kB / 0.5404 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3889, allocations: 16.72 kB / 0.5404 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002133/0.3891, allocations: 0.5538 MB / 0.5409 GB, free: 17.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3891, allocations: 0 / 0.5409 GB, free: 17.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.3897, allocations: 0.5637 MB / 0.5415 GB, free: 17.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.3898, allocations: 115 kB / 0.5416 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.3899, allocations: 9.391 kB / 0.5416 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.39, allocations: 13.59 kB / 0.5416 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.3901, allocations: 37.48 kB / 0.5416 GB, free: 16.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3901, allocations: 17.86 kB / 0.5416 GB, free: 16.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.3903, allocations: 262.7 kB / 0.5419 GB, free: 16.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3903, allocations: 2.781 kB / 0.5419 GB, free: 16.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.3908, allocations: 124.2 kB / 0.542 GB, free: 16.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 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 Backend phase and start with SimCode phase: time 0.0001607/0.391, allocations: 113.9 kB / 0.5421 GB, free: 16.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.3916, allocations: 329.8 kB / 0.5424 GB, free: 16.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3916, allocations: 0 / 0.5424 GB, free: 16.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3918, allocations: 146.8 kB / 0.5426 GB, free: 16.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.3923, allocations: 73.62 kB / 0.5427 GB, free: 16.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3946, allocations: 2.152 MB / 0.5448 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.395, allocations: 0.9559 MB / 0.5457 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.3952, allocations: 61.31 kB / 0.5457 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.3953, allocations: 43.52 kB / 0.5458 GB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3953, allocations: 0 / 0.5458 GB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.008471/0.4038, allocations: 3.922 MB / 0.5496 GB, free: 13.92 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches