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.001233/0.001233, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001648/0.001648, allocations: 165 kB / 24.56 MB, free: 12 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 0.9863/0.9863, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.272/0.272, allocations: 32.81 MB / 294.3 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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 1.734e-06/1.734e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.278e-05, allocations: 6.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005477/0.0055, allocations: 5.588 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.00869, allocations: 2.302 MB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.00918, allocations: 55.5 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.009579, allocations: 233.9 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.009869, allocations: 202 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.01065, allocations: 478.7 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007626/0.01141, allocations: 1.134 MB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.01184, allocations: 394 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.0125, allocations: 0.573 MB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.01276, allocations: 287.1 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.01285, allocations: 99.94 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.01303, allocations: 163.8 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.01316, allocations: 215.2 kB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.01335, allocations: 319.2 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.01399, allocations: 0.7471 MB / 388.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01399, allocations: 4 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01399, allocations: 0 / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.014, allocations: 0 / 388.7 MB, free: 7.844 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.001002/0.015, allocations: 1.169 MB / 389.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.01505, allocations: 12.03 kB / 389.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.01531, allocations: 192.3 kB / 390.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.0159, allocations: 0.5641 MB / 390.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.01594, allocations: 70.12 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.01602, allocations: 95.98 kB / 390.8 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.01687, allocations: 0.7599 MB / 391.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.0169, allocations: 7.953 kB / 391.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.01694, allocations: 39.94 kB / 391.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.01696, allocations: 24 kB / 391.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.01741, allocations: 311.6 kB / 392 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.02004, allocations: 4.051 MB / 396 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.02039, allocations: 171.7 kB / 396.2 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.02048, allocations: 64.2 kB / 396.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.02056, allocations: 23.94 kB / 396.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.02058, allocations: 45.83 kB / 396.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.02058, allocations: 0 / 396.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001446/0.02203, allocations: 1.002 MB / 397.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.02207, allocations: 55.41 kB / 397.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.02242, allocations: 446.5 kB / 397.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.02244, allocations: 29.7 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.02268, allocations: 0.5217 MB / 398.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.02276, allocations: 138.8 kB / 398.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/0.02286, allocations: 104 kB / 398.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.02302, allocations: 0.5352 MB / 399.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.02311, allocations: 57.27 kB / 399.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.02333, allocations: 346.3 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.02368, allocations: 447.7 kB / 400 MB, free: 11.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.02368, allocations: 4 kB / 400 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004633/0.02415, allocations: 448.8 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.02417, allocations: 8.156 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.02418, allocations: 8 kB / 400.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.02434, allocations: 35.67 kB / 400.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.02457, allocations: 127.8 kB / 400.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005641/0.02513, allocations: 0.8155 MB / 401.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.02524, allocations: 24 kB / 401.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.02528, allocations: 24 kB / 401.4 MB, free: 10.38 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.0001471/0.02542, allocations: 188.4 kB / 401.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.02548, allocations: 67.7 kB / 401.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.02586, allocations: 269.9 kB / 402 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.02586, allocations: 4 kB / 402 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.02586, allocations: 0 / 402 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02587, allocations: 3.984 kB / 402 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.02673, allocations: 0.8832 MB / 402.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02673, allocations: 4.156 kB / 402.9 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.02693, allocations: 75.91 kB / 402.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.455e-05/0.02702, allocations: 31.66 kB / 403 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.02704, allocations: 8 kB / 403 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002778/0.02732, allocations: 0.8077 MB / 403.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02732, allocations: 4 kB / 403.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.02775, allocations: 0.5149 MB / 404.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.02779, allocations: 51.72 kB / 404.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.02782, allocations: 16 kB / 404.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.02789, allocations: 7.984 kB / 404.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.02794, allocations: 23.95 kB / 404.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.02796, allocations: 12 kB / 404.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.02813, allocations: 283 kB / 404.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02813, allocations: 0 / 404.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.02844, allocations: 124 kB / 404.8 MB, free: 6.852 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.0001592/0.0286, allocations: 123 kB / 404.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.02898, allocations: 260.9 kB / 405.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02898, allocations: 1.688 kB / 405.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.02911, allocations: 116.1 kB / 405.3 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.02949, allocations: 90.11 kB / 405.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.03129, allocations: 1.448 MB / 406.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.03139, allocations: 161.7 kB / 407 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.0315, allocations: 56.53 kB / 407 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.03156, allocations: 40.5 kB / 407.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03156, allocations: 4 kB / 407.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of Templates: time 0.007652/0.03922, allocations: 4.174 MB / 411.3 MB, free: 392 kB / 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.167957795318216]