Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3935/0.3935, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.177e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008312/0.008344, allocations: 5.152 MB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.0133, allocations: 2.263 MB / 384.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009878/0.01429, allocations: 51.56 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.01493, allocations: 233.9 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.01557, allocations: 194.1 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.01694, allocations: 474.7 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.01841, allocations: 1.13 MB / 386.7 MB, free: 9.441 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.01919, allocations: 401.9 kB / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.02005, allocations: 0.5652 MB / 387.7 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.02069, allocations: 271.1 kB / 388 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.02084, allocations: 100 kB / 388.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.02114, allocations: 159.8 kB / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.02138, allocations: 219.2 kB / 388.4 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.02175, allocations: 307.3 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.02335, allocations: 1.292 MB / 390 MB, free: 6.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02335, allocations: 0 / 390 MB, free: 6.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02336, allocations: 4 kB / 390 MB, free: 6.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.02337, allocations: 0 / 390 MB, free: 6.125 MB / 362.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.001801/0.02517, allocations: 1.073 MB / 391.1 MB, free: 5.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.02521, allocations: 8.031 kB / 391.1 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.02561, allocations: 188.3 kB / 391.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.02667, allocations: 0.5576 MB / 391.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/0.02676, allocations: 74.11 kB / 391.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.0269, allocations: 92 kB / 392 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.02861, allocations: 0.8892 MB / 392.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.02867, allocations: 23.88 kB / 392.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.02875, allocations: 36 kB / 393 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.02878, allocations: 24 kB / 393 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.02991, allocations: 0.5151 MB / 393.5 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.03446, allocations: 3.241 MB / 396.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.03508, allocations: 213.1 kB / 396.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.03528, allocations: 97.31 kB / 397 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.03539, allocations: 19.92 kB / 397.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.03543, allocations: 42.5 kB / 397.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.464e-06/0.03544, allocations: 0 / 397.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.00271/0.03815, allocations: 1.163 MB / 398.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.0382, allocations: 55.41 kB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.03873, allocations: 417.7 kB / 398.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.03876, allocations: 29.7 kB / 398.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.03917, allocations: 479.5 kB / 399.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.0393, allocations: 138.8 kB / 399.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.03946, allocations: 98.3 kB / 399.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.0397, allocations: 362.7 kB / 399.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.03993, allocations: 113.3 kB / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.04037, allocations: 311.2 kB / 400.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.04112, allocations: 463.6 kB / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.04113, allocations: 4 kB / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001065/0.04219, allocations: 0.5441 MB / 401.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.04222, allocations: 8 kB / 401.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.04223, allocations: 4 kB / 401.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.04249, allocations: 40.78 kB / 401.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.04292, allocations: 124.5 kB / 401.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007984/0.04372, allocations: 0.5679 MB / 402 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.04395, allocations: 20 kB / 402 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.044, allocations: 28 kB / 402 MB, free: 9.539 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.0003594/0.04436, allocations: 225.6 kB / 402.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.04447, allocations: 59.67 kB / 402.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007193/0.04519, allocations: 339 kB / 402.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.0452, allocations: 8.062 kB / 402.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0452, allocations: 0 / 402.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.04521, allocations: 0 / 402.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.04682, allocations: 0.8793 MB / 403.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.04683, allocations: 0 / 403.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.04722, allocations: 83.89 kB / 403.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.04738, allocations: 32.88 kB / 403.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.04743, allocations: 16.16 kB / 403.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.04792, allocations: 0.5562 MB / 404.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.04792, allocations: 0 / 404.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.04887, allocations: 0.5605 MB / 404.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.04894, allocations: 43.61 kB / 404.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.04899, allocations: 8 kB / 404.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.04916, allocations: 11.98 kB / 404.8 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.04923, allocations: 19.97 kB / 404.8 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.04926, allocations: 24.05 kB / 404.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.04961, allocations: 271.1 kB / 405.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04961, allocations: 0 / 405.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005875/0.0502, allocations: 128 kB / 405.2 MB, free: 6.16 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.000195/0.05039, allocations: 107.2 kB / 405.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.05109, allocations: 328.2 kB / 405.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.05109, allocations: 0 / 405.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.0514, allocations: 131.8 kB / 405.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.05196, allocations: 86.75 kB / 405.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.05457, allocations: 1.48 MB / 407.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.05503, allocations: 372 kB / 407.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.05521, allocations: 52.55 kB / 407.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.05532, allocations: 48.48 kB / 407.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.05532, allocations: 0 / 407.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of Templates: time 0.0108/0.06612, allocations: 3.947 MB / 411.8 MB, free: 15.61 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94932991603855]