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.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.001535/0.001535, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001637/0.001637, allocations: 161.7 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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4036/0.4036, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 375.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.733e-05, allocations: 9.484 kB / 375.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.0115/0.01154, allocations: 5.152 MB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.01857, allocations: 2.247 MB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.01949, allocations: 55.56 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009358/0.02042, allocations: 237.9 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008251/0.02125, allocations: 194.1 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.02321, allocations: 470.7 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.02555, allocations: 1.137 MB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.02688, allocations: 402 kB / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.02817, allocations: 0.5652 MB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.02886, allocations: 279.1 kB / 385.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.02909, allocations: 96 kB / 386 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.02957, allocations: 155.8 kB / 386.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.02994, allocations: 219.2 kB / 386.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.03054, allocations: 307.2 kB / 386.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.03307, allocations: 1.285 MB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03307, allocations: 0 / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03308, allocations: 0 / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.03309, allocations: 4 kB / 388 MB, free: 8.211 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.002902/0.03599, allocations: 1.073 MB / 389.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.03603, allocations: 12.03 kB / 389.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.0367, allocations: 184.3 kB / 389.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.03847, allocations: 0.5575 MB / 389.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.03859, allocations: 74.12 kB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.03884, allocations: 92 kB / 390 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.04166, allocations: 0.8892 MB / 390.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-05/0.04172, allocations: 15.89 kB / 390.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.04186, allocations: 40 kB / 390.9 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.0419, allocations: 24 kB / 390.9 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.04391, allocations: 0.5229 MB / 391.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007527/0.05144, allocations: 3.249 MB / 394.7 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.05244, allocations: 199.2 kB / 394.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.05279, allocations: 93.31 kB / 395 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.05296, allocations: 23.98 kB / 395 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.05302, allocations: 38.94 kB / 395.1 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.05302, allocations: 0 / 395.1 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.00453/0.05755, allocations: 1.17 MB / 396.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.05763, allocations: 59.39 kB / 396.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.05838, allocations: 409.8 kB / 396.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.05842, allocations: 37.64 kB / 396.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.05883, allocations: 475.5 kB / 397.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.05896, allocations: 138.8 kB / 397.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.05913, allocations: 102.3 kB / 397.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.05935, allocations: 366.7 kB / 397.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.05961, allocations: 117.2 kB / 397.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.06025, allocations: 303.2 kB / 398.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.06112, allocations: 464.5 kB / 398.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.06113, allocations: 4 kB / 398.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001246/0.06238, allocations: 0.5332 MB / 399.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.0624, allocations: 8 kB / 399.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.06241, allocations: 12.06 kB / 399.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.06261, allocations: 40.83 kB / 399.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.06305, allocations: 123.8 kB / 399.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005291/0.06358, allocations: 0.5601 MB / 399.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.06382, allocations: 23.98 kB / 399.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.06387, allocations: 28 kB / 400 MB, free: 11.62 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.0003617/0.06423, allocations: 225.6 kB / 400.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.06434, allocations: 63.67 kB / 400.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.06508, allocations: 339.1 kB / 400.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.06509, allocations: 4 kB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.0651, allocations: 0 / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.0651, allocations: 3.984 kB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.06676, allocations: 0.8793 MB / 401.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.06676, allocations: 8.156 kB / 401.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.06717, allocations: 79.89 kB / 401.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.0673, allocations: 32.84 kB / 401.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.06733, allocations: 8 kB / 401.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004617/0.06779, allocations: 0.5522 MB / 402.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.0678, allocations: 4.031 kB / 402.2 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.06875, allocations: 0.5605 MB / 402.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.06883, allocations: 47.67 kB / 402.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.06889, allocations: 8 kB / 402.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.06906, allocations: 8 kB / 402.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.06913, allocations: 28.05 kB / 402.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.06916, allocations: 19.92 kB / 402.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.06951, allocations: 271.1 kB / 403.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06951, allocations: 0 / 403.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005852/0.07009, allocations: 127.9 kB / 403.2 MB, free: 8.242 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.0002033/0.0703, allocations: 119.2 kB / 403.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.07104, allocations: 321.2 kB / 403.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.07104, allocations: 0 / 403.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.07135, allocations: 132.2 kB / 403.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.07192, allocations: 85.8 kB / 403.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.07467, allocations: 1.476 MB / 405.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.07515, allocations: 364.1 kB / 405.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.07534, allocations: 68.52 kB / 405.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.07544, allocations: 40.5 kB / 405.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.07544, allocations: 0 / 405.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01109/0.08653, allocations: 3.964 MB / 409.8 MB, free: 1.684 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.99280225194525]