Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009597/0.0009597, allocations: 84.45 kB / 20.69 MB, free: 3.863 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.001008/0.001008, allocations: 169.9 kB / 23.97 MB, free: 0.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8508/0.8508, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1262/0.1262, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.171e-05, allocations: 9.453 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.003999/0.004021, allocations: 5.132 MB / 413.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.006316, allocations: 2.236 MB / 415.5 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.006592, allocations: 55.5 kB / 415.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.006923, allocations: 226 kB / 415.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.007143, allocations: 194.1 kB / 415.9 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.007794, allocations: 478.6 kB / 416.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006276/0.008422, allocations: 1.13 MB / 417.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.00883, allocations: 401.9 kB / 417.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.0092, allocations: 0.5536 MB / 418.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.009425, allocations: 275.1 kB / 418.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.009495, allocations: 99.94 kB / 418.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.009643, allocations: 147.9 kB / 419 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.00977, allocations: 223.2 kB / 419.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.009942, allocations: 311.2 kB / 419.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.01076, allocations: 1.281 MB / 420.8 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01076, allocations: 0 / 420.8 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01076, allocations: 0 / 420.8 MB, free: 268 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.01077, allocations: 0 / 420.8 MB, free: 268 kB / 346.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.001006/0.01178, allocations: 1.07 MB / 421.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01181, allocations: 12.02 kB / 421.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.01191, allocations: 112.2 kB / 422 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/0.01271, allocations: 0.5068 MB / 422.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.01275, allocations: 78.12 kB / 422.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.01283, allocations: 84 kB / 422.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.01369, allocations: 0.8957 MB / 423.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.01372, allocations: 11.83 kB / 423.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.01376, allocations: 43.98 kB / 423.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.01377, allocations: 20 kB / 423.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.01436, allocations: 0.5268 MB / 424.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.01631, allocations: 3.198 MB / 427.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.01666, allocations: 203.2 kB / 427.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01676, allocations: 92.81 kB / 427.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.01684, allocations: 19.97 kB / 427.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.01686, allocations: 50.44 kB / 427.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.292e-06/0.01686, allocations: 0 / 427.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001348/0.01821, allocations: 1.153 MB / 428.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.01824, allocations: 59.41 kB / 428.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.01874, allocations: 405.8 kB / 429.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01876, allocations: 37.7 kB / 429.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.01893, allocations: 475.5 kB / 429.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.019, allocations: 142.8 kB / 429.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.01908, allocations: 102.3 kB / 430 MB, free: 6.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.01917, allocations: 362.7 kB / 430.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01929, allocations: 117.2 kB / 430.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.01949, allocations: 311 kB / 430.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.01985, allocations: 452.6 kB / 431.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01985, allocations: 4 kB / 431.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004716/0.02032, allocations: 0.5132 MB / 431.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.02034, allocations: 8 kB / 431.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.02035, allocations: 8 kB / 431.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.02049, allocations: 48.77 kB / 431.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.02069, allocations: 119.8 kB / 431.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002707/0.02096, allocations: 0.5601 MB / 432.5 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.02107, allocations: 23.98 kB / 432.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.0211, allocations: 24.31 kB / 432.6 MB, free: 3.895 MB / 362.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.0001859/0.02128, allocations: 233.6 kB / 432.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.02132, allocations: 51.67 kB / 432.8 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.02169, allocations: 330.9 kB / 433.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.0217, allocations: 4 kB / 433.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.0217, allocations: 0 / 433.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02171, allocations: 3.984 kB / 433.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.02246, allocations: 0.8781 MB / 434 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02246, allocations: 4 kB / 434 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.02265, allocations: 75.91 kB / 434.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/0.02272, allocations: 36.83 kB / 434.2 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.02274, allocations: 12 kB / 434.2 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001885/0.02292, allocations: 0.5523 MB / 434.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02293, allocations: 4.219 kB / 434.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.02336, allocations: 0.553 MB / 435.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.02339, allocations: 43.61 kB / 435.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.02342, allocations: 8 kB / 435.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.02349, allocations: 8 kB / 435.3 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.02353, allocations: 27.95 kB / 435.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.02354, allocations: 12 kB / 435.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.02371, allocations: 271.1 kB / 435.6 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02371, allocations: 0 / 435.6 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.02399, allocations: 131.9 kB / 435.8 MB, free: 0.5352 MB / 362.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.0001205/0.02411, allocations: 123.2 kB / 435.9 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.02448, allocations: 325 kB / 436.2 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02448, allocations: 0 / 436.2 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.132/0.1565, allocations: 129 kB / 436.3 MB, free: 40.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1569, allocations: 81.78 kB / 436.4 MB, free: 40.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.1585, allocations: 1.481 MB / 437.9 MB, free: 39.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1588, allocations: 368.4 kB / 438.2 MB, free: 39.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.1588, allocations: 45.05 kB / 438.3 MB, free: 39.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1588, allocations: 4 kB / 438.3 MB, free: 39.21 MB / 362.7 MB Notification: Performance of Templates: time 0.008783/0.1676, allocations: 11.64 MB / 449.9 MB, free: 35.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.177535750903189]