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.001421/0.001421, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001522/0.001522, allocations: 163.1 kB / 25.02 MB, free: 8.949 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 1.419/1.419, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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 1.593e-06/1.593e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.84e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01521/0.01524, allocations: 10.35 MB / 260.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008662/0.0239, allocations: 3.773 MB / 264.5 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.02568, allocations: 71.5 kB / 264.6 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.02818, allocations: 0.8504 MB / 265.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.03185, allocations: 1.063 MB / 266.5 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.03341, allocations: 0.5342 MB / 267 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.03851, allocations: 3.583 MB / 270.6 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.04099, allocations: 1.459 MB / 272.1 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.04519, allocations: 2.292 MB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.04887, allocations: 1.683 MB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.05, allocations: 408 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.05179, allocations: 0.6244 MB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.05333, allocations: 1.196 MB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.05564, allocations: 1.263 MB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007751/0.06339, allocations: 5.437 MB / 285 MB, free: 5.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.0634, allocations: 4 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0634, allocations: 0 / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.06359, allocations: 0 / 285 MB, free: 5.051 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.01075/0.07434, allocations: 3.691 MB / 288.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.0744, allocations: 11.98 kB / 288.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.07649, allocations: 0.6587 MB / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.08162, allocations: 1.851 MB / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.08185, allocations: 197.8 kB / 291.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/0.08245, allocations: 276.1 kB / 291.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007625/0.09007, allocations: 3.654 MB / 295.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.09014, allocations: 4 kB / 295.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.09042, allocations: 104 kB / 295.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.0906, allocations: 125.2 kB / 295.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.09709, allocations: 2.96 MB / 298.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01874/0.1158, allocations: 9.727 MB / 308.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.1187, allocations: 1.518 MB / 309.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.1211, allocations: 1.106 MB / 310.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.1214, allocations: 65.2 kB / 310.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.1214, allocations: 47.88 kB / 310.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.496e-06/0.1215, allocations: 0 / 310.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=148): time 0.01816/0.1396, allocations: 7.101 MB / 318 MB, free: 3.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.1397, allocations: 68.72 kB / 318.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.1433, allocations: 1.822 MB / 319.9 MB, free: 1.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.1434, allocations: 45.7 kB / 320 MB, free: 1.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.1447, allocations: 1.365 MB / 321.3 MB, free: 72 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.1454, allocations: 0.5192 MB / 321.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006205/0.146, allocations: 327.4 kB / 322.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1461, allocations: 301.1 kB / 322.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.1479, allocations: 0.8823 MB / 323.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.1501, allocations: 1.369 MB / 324.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.1544, allocations: 2.39 MB / 327.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.1544, allocations: 4 kB / 327.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006193/0.1606, allocations: 2.966 MB / 330.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.1607, allocations: 12 kB / 330.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.1607, allocations: 16 kB / 330.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.1624, allocations: 0.5219 MB / 330.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.1641, allocations: 431.3 kB / 331 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/0.1722, allocations: 5.813 MB / 336.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.174, allocations: 127.8 kB / 337 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.1742, allocations: 75.98 kB / 337.1 MB, free: 15.68 MB / 330.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.001679/0.1759, allocations: 0.8485 MB / 337.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.1765, allocations: 254.7 kB / 338.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.1818, allocations: 2.487 MB / 340.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/0.1818, allocations: 19.98 kB / 340.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.1819, allocations: 4 kB / 340.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.1819, allocations: 7.984 kB / 340.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.1917, allocations: 4.859 MB / 345.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.1917, allocations: 4 kB / 345.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.193, allocations: 284.1 kB / 345.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.1948, allocations: 0.5412 MB / 346.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.195, allocations: 47.92 kB / 346.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.112/0.307, allocations: 7.258 MB / 353.7 MB, free: 99.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.307, allocations: 4.266 kB / 353.7 MB, free: 99.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.3123, allocations: 3.795 MB / 357.5 MB, free: 98.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.3132, allocations: 399.5 kB / 357.9 MB, free: 98.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.3135, allocations: 38.59 kB / 357.9 MB, free: 98.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3146, allocations: 97.92 kB / 358 MB, free: 98.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.3148, allocations: 131.5 kB / 358.1 MB, free: 98.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.3149, allocations: 45.23 kB / 358.2 MB, free: 98.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001366/0.3163, allocations: 1.229 MB / 359.4 MB, free: 98.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3163, allocations: 3.875 kB / 359.4 MB, free: 98.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001675/0.318, allocations: 0.5799 MB / 360 MB, free: 98.16 MB / 330.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.0005279/0.3185, allocations: 220.3 kB / 360.2 MB, free: 98.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004812/0.3233, allocations: 2.446 MB / 362.6 MB, free: 96.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3233, allocations: 0 / 362.6 MB, free: 96.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.3255, allocations: 1.556 MB / 364.2 MB, free: 95.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.3277, allocations: 452.5 kB / 364.6 MB, free: 95.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.3351, allocations: 5.592 MB / 370.2 MB, free: 90.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.3363, allocations: 1.58 MB / 371.8 MB, free: 88.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.3376, allocations: 447.5 kB / 372.2 MB, free: 88.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.338, allocations: 136.5 kB / 372.4 MB, free: 88.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.338, allocations: 0 / 372.4 MB, free: 88.04 MB / 330.7 MB Notification: Performance of Templates: time 0.03916/0.3772, allocations: 29.61 MB / 402 MB, free: 58.47 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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: 6.02837620396167]