Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.001014/0.001014, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.00111/0.00111, allocations: 169.4 kB / 25.33 MB, free: 9.465 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.9612/0.9612, allocations: 158.6 MB / 187.2 MB, free: 2.52 MB / 170.7 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.139e-05/4.356e-05, allocations: 9.406 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01209/0.01213, allocations: 11.63 MB / 262.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009083/0.02122, allocations: 3.925 MB / 266.6 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.02324, allocations: 67.56 kB / 266.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.02532, allocations: 0.8544 MB / 267.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.02865, allocations: 1.063 MB / 268.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.03007, allocations: 0.5342 MB / 269.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00411/0.03418, allocations: 3.579 MB / 272.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.03607, allocations: 1.474 MB / 274.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.03969, allocations: 2.304 MB / 276.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.04246, allocations: 1.816 MB / 278.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009255/0.04339, allocations: 408 kB / 278.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.0447, allocations: 0.6283 MB / 279.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.04558, allocations: 1.207 MB / 280.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.0471, allocations: 1.278 MB / 281.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.05125, allocations: 3.033 MB / 284.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.05126, allocations: 3.984 kB / 284.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05126, allocations: 0 / 284.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.05144, allocations: 0 / 284.9 MB, free: 1.582 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006696/0.05813, allocations: 3.887 MB / 288.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.05819, allocations: 11.98 kB / 288.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.05941, allocations: 0.6626 MB / 289.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.06172, allocations: 1.671 MB / 291.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.06217, allocations: 197.8 kB / 291.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.06247, allocations: 280.1 kB / 291.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.06586, allocations: 2.202 MB / 293.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.06592, allocations: 0 / 293.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.0661, allocations: 108 kB / 293.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.06626, allocations: 125.2 kB / 294 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.06847, allocations: 1.003 MB / 295 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/0.226, allocations: 9.181 MB / 304.2 MB, free: 46.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.2278, allocations: 0.8326 MB / 305 MB, free: 46.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.229, allocations: 0.5574 MB / 305.6 MB, free: 46.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.2292, allocations: 60.48 kB / 305.6 MB, free: 46.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.2293, allocations: 51.89 kB / 305.7 MB, free: 46.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 1.277e-05/0.2293, allocations: 0.5312 kB / 305.7 MB, free: 46.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.00897/0.2383, allocations: 3.747 MB / 309.4 MB, free: 46.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.2383, allocations: 72.3 kB / 309.5 MB, free: 46.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.2409, allocations: 1.59 MB / 311.1 MB, free: 45.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.2409, allocations: 49.33 kB / 311.1 MB, free: 45.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008124/0.2417, allocations: 1.434 MB / 312.6 MB, free: 45.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.2421, allocations: 0.5316 MB / 313.1 MB, free: 44.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.2425, allocations: 339.8 kB / 313.4 MB, free: 44.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.2426, allocations: 486.3 kB / 313.9 MB, free: 44.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.2431, allocations: 272.2 kB / 314.2 MB, free: 44.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.2439, allocations: 0.9702 MB / 315.1 MB, free: 43.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2452, allocations: 1.392 MB / 316.5 MB, free: 42.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.2452, allocations: 10.59 kB / 316.5 MB, free: 42.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002593/0.2478, allocations: 1.63 MB / 318.2 MB, free: 42.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.2479, allocations: 9.25 kB / 318.2 MB, free: 42.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.2479, allocations: 15.41 kB / 318.2 MB, free: 42.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008442/0.2488, allocations: 317 kB / 318.5 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.2496, allocations: 418 kB / 318.9 MB, free: 42.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.2526, allocations: 5.112 MB / 324 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.2536, allocations: 112.8 kB / 324.1 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2537, allocations: 74.17 kB / 324.2 MB, free: 38.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007294/0.2544, allocations: 267.8 kB / 324.5 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.2548, allocations: 258.5 kB / 324.7 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2564, allocations: 1.285 MB / 326 MB, free: 37.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.2564, allocations: 19.03 kB / 326 MB, free: 37.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.2564, allocations: 10.69 kB / 326 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.2565, allocations: 7.219 kB / 326 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.2615, allocations: 3.651 MB / 329.7 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2615, allocations: 4 kB / 329.7 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.2621, allocations: 272 kB / 330 MB, free: 34.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/0.263, allocations: 370.2 kB / 330.3 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/0.2631, allocations: 42.69 kB / 330.4 MB, free: 34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.2666, allocations: 6.913 MB / 337.3 MB, free: 26.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.2666, allocations: 7.984 kB / 337.3 MB, free: 26.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.2692, allocations: 1.896 MB / 339.2 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.27, allocations: 367.2 kB / 339.5 MB, free: 24.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2702, allocations: 35.98 kB / 339.6 MB, free: 24.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.2708, allocations: 99.64 kB / 339.7 MB, free: 24.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.271, allocations: 127.1 kB / 339.8 MB, free: 24.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.2711, allocations: 47.98 kB / 339.8 MB, free: 24.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009956/0.2721, allocations: 0.9218 MB / 340.8 MB, free: 23.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2721, allocations: 0 / 340.8 MB, free: 23.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001835/0.2739, allocations: 0.5861 MB / 341.3 MB, free: 22.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004533/0.2744, allocations: 223.2 kB / 341.6 MB, free: 22.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.2765, allocations: 1.534 MB / 343.1 MB, free: 20.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2765, allocations: 0 / 343.1 MB, free: 20.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.2776, allocations: 1.22 MB / 344.3 MB, free: 19.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.2789, allocations: 450.6 kB / 344.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.2855, allocations: 4.808 MB / 349.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.2861, allocations: 0.7085 MB / 350.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009654/0.2871, allocations: 371.4 kB / 350.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.2874, allocations: 132.5 kB / 350.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.934e-06/0.2874, allocations: 0 / 350.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Templates: time 0.04177/0.3291, allocations: 29.67 MB / 380.4 MB, free: 15.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.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: 4.26084043784067]