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.001775/0.001775, allocations: 88.55 kB / 21.43 MB, free: 268 kB / 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.002144/0.002144, allocations: 166.6 kB / 24.7 MB, free: 3.508 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.308/1.308, allocations: 158.6 MB / 186.5 MB, free: 6.383 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.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.763e-06/1.763e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.023e-05, allocations: 6.281 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01462/0.01465, allocations: 10.33 MB / 309.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008813/0.02347, allocations: 3.765 MB / 313.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.02526, allocations: 71.5 kB / 313.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.02753, allocations: 0.8466 MB / 314 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.03077, allocations: 1.067 MB / 315 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.03216, allocations: 0.5381 MB / 315.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005243/0.0374, allocations: 3.571 MB / 319.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.0398, allocations: 1.463 MB / 320.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.04352, allocations: 2.288 MB / 322.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1523/0.1958, allocations: 1.676 MB / 324.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008573/0.1966, allocations: 409.5 kB / 325 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1982, allocations: 0.6235 MB / 325.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.1993, allocations: 1.193 MB / 326.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.2012, allocations: 1.265 MB / 328.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007473/0.2086, allocations: 5.434 MB / 333.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2087, allocations: 3.656 kB / 333.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2087, allocations: 1.031 kB / 333.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001673/0.2088, allocations: 2.953 kB / 333.5 MB, free: 17.77 MB / 302.1 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.01071/0.2195, allocations: 3.693 MB / 337.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2196, allocations: 13.11 kB / 337.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.2216, allocations: 451.8 kB / 337.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.2268, allocations: 1.789 MB / 339.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.227, allocations: 202 kB / 339.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006435/0.2276, allocations: 270.1 kB / 339.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006517/0.2341, allocations: 3.651 MB / 343.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.2342, allocations: 10.98 kB / 343.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.2345, allocations: 109.3 kB / 343.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.2346, allocations: 123.6 kB / 343.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.2397, allocations: 2.963 MB / 346.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.2554, allocations: 9.571 MB / 356.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.2575, allocations: 1.512 MB / 357.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.2591, allocations: 1.112 MB / 359 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.2594, allocations: 49.28 kB / 359 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.2594, allocations: 51.86 kB / 359.1 MB, free: 1.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 5.38e-06/0.2594, allocations: 4 kB / 359.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=148): time 0.01784/0.2773, allocations: 7.056 MB / 366.1 MB, free: 10 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2773, allocations: 68.72 kB / 366.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.2805, allocations: 1.814 MB / 368 MB, free: 8.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.2806, allocations: 49.7 kB / 368 MB, free: 8.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.2817, allocations: 1.359 MB / 369.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.2822, allocations: 0.5235 MB / 369.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005621/0.2828, allocations: 330.7 kB / 370.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2829, allocations: 305.1 kB / 370.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.2844, allocations: 0.8823 MB / 371.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.2864, allocations: 1.372 MB / 372.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.2901, allocations: 2.38 MB / 375.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2901, allocations: 6.844 kB / 375.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005687/0.2958, allocations: 2.88 MB / 378.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.2959, allocations: 20.05 kB / 378.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.2959, allocations: 16 kB / 378.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.2971, allocations: 456.5 kB / 378.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2988, allocations: 431.5 kB / 379 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/0.3064, allocations: 5.787 MB / 384.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.3085, allocations: 119.8 kB / 384.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.3088, allocations: 76 kB / 384.9 MB, free: 6.719 MB / 334.1 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.00209/0.3108, allocations: 0.8578 MB / 385.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/0.3114, allocations: 202.8 kB / 386 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.3163, allocations: 2.486 MB / 388.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/0.3164, allocations: 23.59 kB / 388.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.3164, allocations: 4 kB / 388.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.3164, allocations: 11.97 kB / 388.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.3267, allocations: 4.848 MB / 393.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.3267, allocations: 7.984 kB / 393.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.328, allocations: 282.5 kB / 393.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.3295, allocations: 0.4987 MB / 394.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.3296, allocations: 35.98 kB / 394.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008556/0.3382, allocations: 7.226 MB / 401.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.3382, allocations: 12.03 kB / 401.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/0.3452, allocations: 3.74 MB / 405.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/0.3468, allocations: 398.7 kB / 405.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/0.3475, allocations: 35.98 kB / 405.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.3491, allocations: 95.89 kB / 405.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.3495, allocations: 132.9 kB / 405.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.3497, allocations: 39.98 kB / 405.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002867/0.3525, allocations: 1.23 MB / 407.1 MB, free: 280 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3525, allocations: 0 / 407.1 MB, free: 280 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002666/0.3552, allocations: 0.5898 MB / 407.7 MB, free: 15.68 MB / 366.1 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.0005823/0.3558, allocations: 229.9 kB / 407.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.3607, allocations: 2.443 MB / 410.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3607, allocations: 0.875 kB / 410.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.3638, allocations: 1.547 MB / 411.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.3671, allocations: 425.3 kB / 412.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.3785, allocations: 5.511 MB / 417.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.3807, allocations: 1.572 MB / 419.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001852/0.3825, allocations: 447.5 kB / 419.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.383, allocations: 136.5 kB / 420 MB, free: 3.332 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.383, allocations: 0 / 420 MB, free: 3.332 MB / 366.1 MB Notification: Performance of Templates: time 0.05793/0.441, allocations: 29.48 MB / 449.4 MB, free: 5.875 MB / 398.1 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: 5.742374919354916]