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.001914/0.001914, allocations: 99.53 kB / 21.74 MB, free: 2.668 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.00203/0.00203, allocations: 166.2 kB / 25.03 MB, free: 8.945 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.368/1.368, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.533e-06/1.533e-06, allocations: 0 / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.981e-05, allocations: 6.109 kB / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01894/0.01897, allocations: 11.52 MB / 261.9 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.03056, allocations: 3.913 MB / 265.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.03424, allocations: 71.5 kB / 265.9 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004217/0.03846, allocations: 0.8466 MB / 266.7 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.04496, allocations: 1.063 MB / 267.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.047, allocations: 0.5381 MB / 268.3 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.05359, allocations: 3.583 MB / 271.9 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.05637, allocations: 1.466 MB / 273.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.06151, allocations: 2.308 MB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00426/0.06577, allocations: 1.812 MB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.06683, allocations: 408 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.0687, allocations: 0.6283 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.07091, allocations: 1.204 MB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.07375, allocations: 1.286 MB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009905/0.08366, allocations: 5.464 MB / 286.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.08367, allocations: 0 / 286.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.08367, allocations: 0 / 286.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002359/0.08391, allocations: 0 / 286.5 MB, free: 3.496 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.01209/0.096, allocations: 4.16 MB / 290.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.09606, allocations: 19.92 kB / 290.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.0981, allocations: 0.6548 MB / 291.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.1022, allocations: 1.721 MB / 293 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.1024, allocations: 201.8 kB / 293.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006453/0.103, allocations: 280 kB / 293.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/0.1112, allocations: 3.389 MB / 296.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-05/0.1112, allocations: 4 kB / 296.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.1115, allocations: 112 kB / 297 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.1117, allocations: 117.3 kB / 297.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.1176, allocations: 2.242 MB / 299.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03083/0.1484, allocations: 12.92 MB / 312.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.1511, allocations: 1.124 MB / 313.4 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.1529, allocations: 0.7881 MB / 314.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.1532, allocations: 61.2 kB / 314.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.1532, allocations: 54.7 kB / 314.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.607e-06/0.1532, allocations: 0 / 314.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=148): time 0.01371/0.1669, allocations: 4.609 MB / 318.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.167, allocations: 76.7 kB / 319 MB, free: 2.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.1709, allocations: 2.184 MB / 321.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.1711, allocations: 49.7 kB / 321.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.1729, allocations: 1.533 MB / 322.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.1737, allocations: 0.5736 MB / 323.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008491/0.1745, allocations: 393.1 kB / 323.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003096/0.1748, allocations: 480.8 kB / 324.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.1763, allocations: 0.4958 MB / 324.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.1784, allocations: 1.256 MB / 325.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.1817, allocations: 1.937 MB / 327.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.1817, allocations: 8 kB / 327.9 MB, free: 8.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005323/0.187, allocations: 2.116 MB / 330 MB, free: 6.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.1871, allocations: 12 kB / 330 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.1871, allocations: 12 kB / 330 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.1886, allocations: 358.7 kB / 330.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.1903, allocations: 423.3 kB / 330.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007214/0.1975, allocations: 5.459 MB / 336.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.1998, allocations: 119.6 kB / 336.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.2001, allocations: 75.98 kB / 336.4 MB, free: 15.69 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.001717/0.2018, allocations: 0.6912 MB / 337.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008392/0.2027, allocations: 258.7 kB / 337.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.2069, allocations: 1.652 MB / 339 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/0.2069, allocations: 16 kB / 339.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.207, allocations: 4 kB / 339.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.207, allocations: 7.969 kB / 339.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.2182, allocations: 4.676 MB / 343.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.2182, allocations: 4 kB / 343.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.2195, allocations: 276.1 kB / 344 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.2213, allocations: 398.7 kB / 344.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.2214, allocations: 39.92 kB / 344.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1693/0.3907, allocations: 7.233 MB / 351.7 MB, free: 95.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.3907, allocations: 4.375 kB / 351.7 MB, free: 95.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/0.3999, allocations: 2.519 MB / 354.2 MB, free: 94.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/0.4019, allocations: 369.5 kB / 354.6 MB, free: 94.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/0.4024, allocations: 36.14 kB / 354.6 MB, free: 94.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.4044, allocations: 98.23 kB / 354.7 MB, free: 94.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/0.4048, allocations: 126.4 kB / 354.8 MB, free: 94.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.405, allocations: 46.23 kB / 354.9 MB, free: 94.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002958/0.408, allocations: 1.265 MB / 356.1 MB, free: 94.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.408, allocations: 3.781 kB / 356.1 MB, free: 94.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003598/0.4116, allocations: 0.5837 MB / 356.7 MB, free: 94.46 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.0007024/0.4123, allocations: 223.4 kB / 356.9 MB, free: 94.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.4179, allocations: 1.981 MB / 358.9 MB, free: 93.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.4179, allocations: 0 / 358.9 MB, free: 93.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.4215, allocations: 1.421 MB / 360.3 MB, free: 93.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/0.4253, allocations: 450.5 kB / 360.8 MB, free: 93.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4384, allocations: 5.089 MB / 365.9 MB, free: 90.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.4403, allocations: 1.468 MB / 367.3 MB, free: 89.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002282/0.4426, allocations: 366.4 kB / 367.7 MB, free: 89.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/0.4434, allocations: 136.5 kB / 367.8 MB, free: 89.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.904e-06/0.4434, allocations: 0.5469 kB / 367.8 MB, free: 89.22 MB / 330.7 MB Notification: Performance of Templates: time 0.08382/0.5272, allocations: 29.63 MB / 397.5 MB, free: 59.63 MB / 330.7 MB " [Timeout remaining time 659] 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","/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.175805578939617]