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.001002/0.001002, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001019/0.001019, allocations: 170.5 kB / 24.82 MB, free: 8.773 MB / 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.111/1.111, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.3711/0.3711, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.824e-06/1.824e-06, allocations: 0 / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.843e-05, allocations: 6.25 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005453/0.005481, allocations: 5.49 MB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.009125, allocations: 2.278 MB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.01011, allocations: 55.5 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.01059, allocations: 234 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.01106, allocations: 198 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.01217, allocations: 478.7 kB / 387.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.01324, allocations: 1.134 MB / 388.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.01375, allocations: 397.9 kB / 388.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.01439, allocations: 0.5691 MB / 389.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.0147, allocations: 291 kB / 389.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.492e-05/0.01479, allocations: 100 kB / 389.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.01502, allocations: 159.8 kB / 389.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01516, allocations: 219.2 kB / 390 MB, free: 6.812 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000647/0.01581, allocations: 311.2 kB / 390.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.01654, allocations: 0.7509 MB / 391.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01654, allocations: 0 / 391.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01654, allocations: 4 kB / 391.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.01655, allocations: 0 / 391.1 MB, free: 5.75 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.0009996/0.01755, allocations: 1.185 MB / 392.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.0176, allocations: 12.03 kB / 392.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.01782, allocations: 184.3 kB / 392.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.01837, allocations: 0.5641 MB / 393 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.01841, allocations: 74.12 kB / 393.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.01849, allocations: 84 kB / 393.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.01916, allocations: 0.7051 MB / 393.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.0192, allocations: 11.94 kB / 393.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.01924, allocations: 40 kB / 393.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.01925, allocations: 24 kB / 394 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.01957, allocations: 261.5 kB / 394.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.02207, allocations: 3.962 MB / 398.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.0224, allocations: 162.9 kB / 398.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.02245, allocations: 56.14 kB / 398.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/0.02253, allocations: 22.73 kB / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.02255, allocations: 37.39 kB / 398.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.02255, allocations: 0 / 398.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001122/0.02368, allocations: 0.8624 MB / 399.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.0237, allocations: 59.41 kB / 399.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.02394, allocations: 442.2 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.02395, allocations: 29.7 kB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.02417, allocations: 0.5177 MB / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.02424, allocations: 142.8 kB / 400.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.02432, allocations: 107.9 kB / 400.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.02446, allocations: 0.5351 MB / 401.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.02451, allocations: 57.19 kB / 401.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.02468, allocations: 326.3 kB / 401.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.02495, allocations: 422.8 kB / 401.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02496, allocations: 4 kB / 401.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003753/0.02533, allocations: 412.3 kB / 402.3 MB, free: 9.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.02535, allocations: 9.875 kB / 402.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.02536, allocations: 11.98 kB / 402.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.02548, allocations: 35.66 kB / 402.4 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.02569, allocations: 127.8 kB / 402.5 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003069/0.026, allocations: 0.8193 MB / 403.3 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.02611, allocations: 16.44 kB / 403.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.02614, allocations: 27.98 kB / 403.4 MB, free: 8.727 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.0001516/0.02629, allocations: 192.4 kB / 403.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.02634, allocations: 55.72 kB / 403.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.02664, allocations: 257.9 kB / 403.9 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02664, allocations: 3.938 kB / 403.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.02664, allocations: 4 kB / 403.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.02665, allocations: 0 / 403.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.02762, allocations: 0.7627 MB / 404.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02762, allocations: 4 kB / 404.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02781, allocations: 79.89 kB / 404.7 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.041e-05/0.02789, allocations: 27.67 kB / 404.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.02791, allocations: 8 kB / 404.7 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002721/0.02818, allocations: 0.8039 MB / 405.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.02819, allocations: 8.062 kB / 405.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.02855, allocations: 0.4955 MB / 406 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.02859, allocations: 47.66 kB / 406.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.02862, allocations: 19.94 kB / 406.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.02869, allocations: 8 kB / 406.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.02873, allocations: 23.95 kB / 406.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.02875, allocations: 8 kB / 406.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.02888, allocations: 271 kB / 406.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02888, allocations: 0 / 406.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.02923, allocations: 124 kB / 406.5 MB, free: 5.383 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.0001387/0.02937, allocations: 127 kB / 406.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.02965, allocations: 242.4 kB / 406.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02966, allocations: 4.125 kB / 406.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.02976, allocations: 104.1 kB / 407 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.0301, allocations: 73.88 kB / 407.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.03176, allocations: 1.44 MB / 408.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.03186, allocations: 161.7 kB / 408.7 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.03199, allocations: 60.53 kB / 408.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.03214, allocations: 158.2 kB / 408.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.03214, allocations: 0 / 408.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of Templates: time 0.008306/0.04045, allocations: 4.316 MB / 413.2 MB, free: 14.69 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3657798138447106]