Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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.00142/0.00142, allocations: 86.48 kB / 21.99 MB, free: 5.188 MB / 14.72 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.001474/0.001474, allocations: 157.8 kB / 25.24 MB, free: 3.039 MB / 14.72 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 1.304/1.304, allocations: 158.6 MB / 187 MB, free: 6.266 MB / 174.1 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 55.92 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2017, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006981/0.2086, allocations: 4.798 MB / 353.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.2124, allocations: 2.037 MB / 355.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.2128, allocations: 51.56 kB / 355.4 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.2133, allocations: 210.2 kB / 355.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.2137, allocations: 174.4 kB / 355.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008447/0.2145, allocations: 387.1 kB / 356.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2156, allocations: 1.009 MB / 357.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.2162, allocations: 389.6 kB / 357.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.2166, allocations: 346.9 kB / 357.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.2171, allocations: 318.3 kB / 358.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.2172, allocations: 92 kB / 358.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2174, allocations: 151.9 kB / 358.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.2176, allocations: 203.4 kB / 358.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.218, allocations: 350.3 kB / 359 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2192, allocations: 1.185 MB / 360.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2192, allocations: 0 / 360.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2192, allocations: 0 / 360.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2192, allocations: 4 kB / 360.2 MB, free: 3.816 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00147/0.2207, allocations: 0.9804 MB / 361.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2207, allocations: 11.98 kB / 361.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2209, allocations: 100.4 kB / 361.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.2217, allocations: 468.3 kB / 361.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.2217, allocations: 58.38 kB / 361.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.2219, allocations: 88.33 kB / 361.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2233, allocations: 0.8086 MB / 362.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.2233, allocations: 7.938 kB / 362.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2234, allocations: 36 kB / 362.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2234, allocations: 20 kB / 362.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2244, allocations: 0.4918 MB / 363.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.2275, allocations: 2.478 MB / 365.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2281, allocations: 199.2 kB / 365.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.2283, allocations: 92.81 kB / 366 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.2284, allocations: 19.92 kB / 366 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2284, allocations: 42.5 kB / 366 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2284, allocations: 0 / 366 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002356/0.2308, allocations: 1.137 MB / 367.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2308, allocations: 55.41 kB / 367.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.2311, allocations: 304.5 kB / 367.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2312, allocations: 37.69 kB / 367.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.2315, allocations: 407.7 kB / 368 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.2316, allocations: 138.8 kB / 368.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2317, allocations: 90.14 kB / 368.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2319, allocations: 354.7 kB / 368.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2321, allocations: 105 kB / 368.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.2324, allocations: 258 kB / 368.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.233, allocations: 380.7 kB / 369.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.233, allocations: 8 kB / 369.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007572/0.2337, allocations: 457.6 kB / 369.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2338, allocations: 12.06 kB / 369.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2338, allocations: 7.984 kB / 369.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.234, allocations: 36.84 kB / 369.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.2343, allocations: 111.8 kB / 369.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004271/0.2347, allocations: 0.5562 MB / 370.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.2349, allocations: 19.98 kB / 370.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.235, allocations: 24 kB / 370.5 MB, free: 9.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0002686/0.2352, allocations: 217.6 kB / 370.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.2353, allocations: 39.83 kB / 370.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.2359, allocations: 314.3 kB / 371 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.236, allocations: 8 kB / 371 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.236, allocations: 0 / 371 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.236, allocations: 4 kB / 371 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2373, allocations: 0.8471 MB / 371.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2373, allocations: 0 / 371.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.2377, allocations: 79.95 kB / 372 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.2378, allocations: 36.78 kB / 372 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.2378, allocations: 8 kB / 372 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003817/0.2382, allocations: 0.5602 MB / 372.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2382, allocations: 0 / 372.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.239, allocations: 0.5451 MB / 373.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.2391, allocations: 43.7 kB / 373.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.2391, allocations: 8 kB / 373.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2393, allocations: 8 kB / 373.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.2393, allocations: 27.98 kB / 373.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2393, allocations: 15.98 kB / 373.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.2396, allocations: 207.1 kB / 373.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2396, allocations: 0 / 373.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00048/0.24, allocations: 123.9 kB / 373.5 MB, free: 5.805 MB / 334.1 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.phi,inertia2b.w,torqueToAngle2b.phi,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.0001589/0.2402, allocations: 131 kB / 373.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.2408, allocations: 291.6 kB / 373.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2408, allocations: 0 / 373.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.2411, allocations: 138.5 kB / 374.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.2416, allocations: 81.42 kB / 374.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.244, allocations: 1.572 MB / 375.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2444, allocations: 325.6 kB / 376.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.2445, allocations: 43.34 kB / 376.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.2446, allocations: 32.5 kB / 376.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2446, allocations: 0 / 376.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Templates: time 0.009316/0.2539, allocations: 3.522 MB / 379.6 MB, free: 15.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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.2222694819793105]