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.0008738/0.0008738, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0008174/0.0008174, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.8167/0.8167, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.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.362e-06/1.362e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.355e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.008097/0.008121, allocations: 10.33 MB / 310 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.01337, allocations: 3.773 MB / 313.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009478/0.01432, allocations: 71.5 kB / 313.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.01573, allocations: 0.8466 MB / 314.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.01774, allocations: 1.063 MB / 315.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.01864, allocations: 0.538 MB / 316.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.02147, allocations: 3.575 MB / 319.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.02302, allocations: 1.459 MB / 321.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.02567, allocations: 2.284 MB / 323.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.02739, allocations: 1.687 MB / 325.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.02782, allocations: 408 kB / 325.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009011/0.02872, allocations: 0.6244 MB / 326.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.02947, allocations: 1.196 MB / 327.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.0306, allocations: 1.259 MB / 328.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.03459, allocations: 5.445 MB / 334.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.03459, allocations: 0 / 334.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0346, allocations: 0 / 334.3 MB, free: 4.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.636e-05/0.03466, allocations: 7.938 kB / 334.3 MB, free: 4.145 MB / 314.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.004586/0.03925, allocations: 3.687 MB / 338 MB, free: 416 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.0393, allocations: 11.98 kB / 338 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.04018, allocations: 452.7 kB / 338.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.04234, allocations: 1.781 MB / 340.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.04245, allocations: 205.8 kB / 340.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.04271, allocations: 270 kB / 340.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.04658, allocations: 3.646 MB / 344.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/0.04664, allocations: 11.89 kB / 344.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.04682, allocations: 112 kB / 344.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.04692, allocations: 121.2 kB / 344.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.05025, allocations: 2.964 MB / 347.5 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1429/0.1931, allocations: 9.57 MB / 357.1 MB, free: 54.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.1948, allocations: 1.51 MB / 358.6 MB, free: 54.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.1961, allocations: 1.096 MB / 359.7 MB, free: 53.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.1963, allocations: 52.84 kB / 359.7 MB, free: 53.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1963, allocations: 45.59 kB / 359.8 MB, free: 53.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 3.346e-06/0.1963, allocations: 1.219 kB / 359.8 MB, free: 53.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.009621/0.2059, allocations: 7.065 MB / 366.8 MB, free: 51.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2059, allocations: 69.98 kB / 366.9 MB, free: 51.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2075, allocations: 1.822 MB / 368.7 MB, free: 50.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.2076, allocations: 51.33 kB / 368.8 MB, free: 50.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.208, allocations: 1.354 MB / 370.1 MB, free: 49.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2082, allocations: 0.5195 MB / 370.7 MB, free: 49.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.2085, allocations: 326.3 kB / 371 MB, free: 49.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.2085, allocations: 304.4 kB / 371.3 MB, free: 49.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.2093, allocations: 0.8851 MB / 372.2 MB, free: 48.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.2102, allocations: 1.372 MB / 373.5 MB, free: 47.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.2118, allocations: 2.382 MB / 375.9 MB, free: 46.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2118, allocations: 3.625 kB / 375.9 MB, free: 46.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002525/0.2144, allocations: 2.887 MB / 378.8 MB, free: 43.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2144, allocations: 12 kB / 378.8 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2144, allocations: 12.62 kB / 378.8 MB, free: 43.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.215, allocations: 465.2 kB / 379.3 MB, free: 43.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.2157, allocations: 431.3 kB / 379.7 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.219, allocations: 5.787 MB / 385.5 MB, free: 36.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.2198, allocations: 122.5 kB / 385.6 MB, free: 36.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.2199, allocations: 75.98 kB / 385.7 MB, free: 36.52 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.001052/0.2209, allocations: 0.8565 MB / 386.5 MB, free: 35.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.2211, allocations: 207.7 kB / 386.7 MB, free: 35.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.2234, allocations: 2.486 MB / 389.2 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.2234, allocations: 17.86 kB / 389.3 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2234, allocations: 4 kB / 389.3 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2234, allocations: 7.969 kB / 389.3 MB, free: 32.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.2282, allocations: 4.856 MB / 394.1 MB, free: 28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.2282, allocations: 5.344 kB / 394.1 MB, free: 28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.2288, allocations: 279.6 kB / 394.4 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.2294, allocations: 0.493 MB / 394.9 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.2295, allocations: 35.98 kB / 394.9 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.233, allocations: 7.235 MB / 402.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.233, allocations: 11.78 kB / 402.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.236, allocations: 3.732 MB / 405.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/0.2365, allocations: 394.5 kB / 406.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.2366, allocations: 35.98 kB / 406.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.2372, allocations: 101.9 kB / 406.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.2374, allocations: 133 kB / 406.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.2374, allocations: 43.98 kB / 406.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009628/0.2384, allocations: 1.226 MB / 407.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2384, allocations: 0 / 407.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001383/0.2398, allocations: 0.5858 MB / 408.4 MB, free: 13.36 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.0003315/0.2401, allocations: 229.2 kB / 408.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.2423, allocations: 2.448 MB / 411.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2423, allocations: 4 kB / 411.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.2435, allocations: 1.552 MB / 412.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2445, allocations: 429 kB / 413.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.2497, allocations: 5.559 MB / 418.6 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/0.2506, allocations: 1.552 MB / 420.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.2509, allocations: 148.5 kB / 420.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2509, allocations: 0 / 420.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of Templates: time 0.05461/0.3055, allocations: 75.5 MB / 495.8 MB, free: 5.652 MB / 410.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: 8.599914111196995]