Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001858/0.001858, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002284/0.002284, allocations: 206.8 kB / 23.73 MB, free: 4.523 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006814/0.256, allocations: 4.849 MB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.2595, allocations: 2.056 MB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.2599, allocations: 55.56 kB / 438.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.2603, allocations: 206.2 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.2607, allocations: 174.4 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.2615, allocations: 399 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2625, allocations: 1.013 MB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.2632, allocations: 417.4 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.2636, allocations: 366.7 kB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.264, allocations: 366.3 kB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2641, allocations: 92 kB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.2644, allocations: 159.9 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2646, allocations: 199.4 kB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.2649, allocations: 346.5 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2661, allocations: 1.197 MB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2661, allocations: 0 / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2661, allocations: 0 / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2662, allocations: 0 / 443.4 MB, free: 10.81 MB / 350.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.001465/0.2676, allocations: 0.9908 MB / 444.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2676, allocations: 8.031 kB / 444.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.2679, allocations: 104.4 kB / 444.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.2687, allocations: 464.3 kB / 444.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.2688, allocations: 66.38 kB / 445 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2689, allocations: 88.33 kB / 445.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.2703, allocations: 0.8086 MB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.2703, allocations: 4 kB / 445.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.2704, allocations: 39.98 kB / 445.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.2704, allocations: 24 kB / 446 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.2714, allocations: 499.6 kB / 446.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.2745, allocations: 2.473 MB / 448.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.275, allocations: 207.9 kB / 449.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2752, allocations: 100.8 kB / 449.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2753, allocations: 15.98 kB / 449.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.2753, allocations: 43 kB / 449.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.472e-06/0.2754, allocations: 0 / 449.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002297/0.2776, allocations: 1.12 MB / 450.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2777, allocations: 55.41 kB / 450.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.278, allocations: 325.5 kB / 450.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2781, allocations: 33.7 kB / 450.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.2783, allocations: 403.7 kB / 451.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2784, allocations: 138.8 kB / 451.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2786, allocations: 94.14 kB / 451.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2787, allocations: 350.7 kB / 451.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2789, allocations: 105 kB / 451.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.2793, allocations: 254 kB / 452.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.2798, allocations: 396.7 kB / 452.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2798, allocations: 0 / 452.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007586/0.2806, allocations: 461.4 kB / 453 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2806, allocations: 8 kB / 453 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2806, allocations: 4 kB / 453 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2808, allocations: 32.84 kB / 453 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.2811, allocations: 111.8 kB / 453.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.2816, allocations: 0.5606 MB / 453.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2817, allocations: 19.98 kB / 453.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.2818, allocations: 24.08 kB / 453.7 MB, free: 15.98 MB / 366.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.0002663/0.2821, allocations: 217.6 kB / 453.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.2821, allocations: 35.77 kB / 454 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.2827, allocations: 330.3 kB / 454.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2828, allocations: 4 kB / 454.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2828, allocations: 4.062 kB / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2828, allocations: 0 / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.2841, allocations: 0.844 MB / 455.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2841, allocations: 0 / 455.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.2844, allocations: 83.89 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.2846, allocations: 28.84 kB / 455.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.2846, allocations: 12 kB / 455.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003873/0.285, allocations: 0.5602 MB / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.285, allocations: 0 / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.2858, allocations: 0.5488 MB / 456.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.2858, allocations: 35.7 kB / 456.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.2859, allocations: 8 kB / 456.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.286, allocations: 12.17 kB / 456.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2861, allocations: 23.97 kB / 456.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2861, allocations: 23.92 kB / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.2863, allocations: 219.2 kB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2863, allocations: 0 / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.2868, allocations: 116 kB / 456.8 MB, free: 12.77 MB / 366.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.0001705/0.287, allocations: 125 kB / 456.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.2876, allocations: 300.6 kB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2876, allocations: 0 / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.2878, allocations: 135.8 kB / 457.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2884, allocations: 68.28 kB / 457.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.2911, allocations: 1.604 MB / 459 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2914, allocations: 325.6 kB / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.2916, allocations: 43.34 kB / 459.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.2917, allocations: 43.42 kB / 459.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2917, allocations: 0 / 459.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01043/0.3021, allocations: 4.54 MB / 464 MB, free: 5.586 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.59998433617875]