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.001387/0.001387, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001099/0.001099, allocations: 173.5 kB / 25.75 MB, free: 8.598 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.8773/0.8773, allocations: 158.6 MB / 187.5 MB, free: 2.91 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 1.443e-06/1.443e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.375e-05, allocations: 6.312 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.009291/0.009305, allocations: 11.56 MB / 262.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.01492, allocations: 3.918 MB / 266.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/0.01568, allocations: 71.5 kB / 266.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01697, allocations: 0.8427 MB / 267.5 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.01842, allocations: 1.063 MB / 268.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006881/0.01911, allocations: 0.5303 MB / 269.1 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.02161, allocations: 3.583 MB / 272.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.0229, allocations: 1.478 MB / 274.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.02463, allocations: 2.3 MB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.02607, allocations: 1.816 MB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.02641, allocations: 408 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.02734, allocations: 0.6283 MB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.02803, allocations: 1.204 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008619/0.02889, allocations: 1.282 MB / 281.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.03104, allocations: 3.037 MB / 284.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.03104, allocations: 0 / 284.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03104, allocations: 4 kB / 284.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.03107, allocations: 0 / 284.8 MB, free: 5.867 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.00398/0.03505, allocations: 3.875 MB / 288.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.03508, allocations: 19.92 kB / 288.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009159/0.036, allocations: 0.6665 MB / 289.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.03768, allocations: 1.663 MB / 291.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.03778, allocations: 197.8 kB / 291.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.03802, allocations: 279.9 kB / 291.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.04075, allocations: 2.206 MB / 293.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.0408, allocations: 4 kB / 293.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.04095, allocations: 108 kB / 293.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.076e-05/0.04104, allocations: 121.2 kB / 294 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.04278, allocations: 1.007 MB / 295 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008308/0.05108, allocations: 9.195 MB / 304.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.05214, allocations: 0.8292 MB / 305 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.0529, allocations: 0.55 MB / 305.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.05306, allocations: 69.27 kB / 305.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.05309, allocations: 46.7 kB / 305.7 MB, free: 468 kB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.755e-06/0.05309, allocations: 0 / 305.7 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005715/0.05881, allocations: 3.754 MB / 309.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.05884, allocations: 64.72 kB / 309.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.06023, allocations: 1.598 MB / 311.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.0603, allocations: 49.7 kB / 311.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.06097, allocations: 1.443 MB / 312.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.06125, allocations: 0.5346 MB / 313.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.06159, allocations: 341.1 kB / 313.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.0617, allocations: 484.7 kB / 313.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.06217, allocations: 275.8 kB / 314.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009939/0.06317, allocations: 0.9593 MB / 315.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.06449, allocations: 1.394 MB / 316.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.06449, allocations: 4 kB / 316.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002101/0.06659, allocations: 1.632 MB / 318.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.06661, allocations: 15.59 kB / 318.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.06663, allocations: 16 kB / 318.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.06737, allocations: 311.1 kB / 318.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.06818, allocations: 419.3 kB / 318.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.07159, allocations: 5.107 MB / 324 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.0722, allocations: 115.8 kB / 324.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/0.07229, allocations: 79.98 kB / 324.2 MB, free: 12.96 MB / 314.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.0003861/0.07267, allocations: 264.1 kB / 324.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.07294, allocations: 250.7 kB / 324.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.07465, allocations: 1.293 MB / 326 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.07466, allocations: 16 kB / 326 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.07467, allocations: 4 kB / 326 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.07468, allocations: 11.97 kB / 326 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.07907, allocations: 3.653 MB / 329.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.07908, allocations: 4 kB / 329.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.07969, allocations: 268.1 kB / 330 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007951/0.08049, allocations: 370.7 kB / 330.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.08056, allocations: 39.97 kB / 330.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.08457, allocations: 6.917 MB / 337.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.08458, allocations: 4 kB / 337.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.08683, allocations: 1.888 MB / 339.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.0873, allocations: 374.5 kB / 339.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.08746, allocations: 36 kB / 339.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.088, allocations: 95.89 kB / 339.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.08818, allocations: 129 kB / 339.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.08824, allocations: 44 kB / 339.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008754/0.08912, allocations: 0.9257 MB / 340.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08912, allocations: 0 / 340.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001036/0.09015, allocations: 0.5897 MB / 341.3 MB, free: 11.18 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.0003264/0.09048, allocations: 210.8 kB / 341.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.09301, allocations: 1.544 MB / 343.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.09301, allocations: 8 kB / 343.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.09448, allocations: 1.216 MB / 344.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.09597, allocations: 461.4 kB / 344.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.1025, allocations: 4.797 MB / 349.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/0.1034, allocations: 0.7085 MB / 350.3 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008643/0.1043, allocations: 363.5 kB / 350.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.1047, allocations: 140.5 kB / 350.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1047, allocations: 3.938 kB / 350.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of Templates: time 0.1356/0.2402, allocations: 29.66 MB / 380.4 MB, free: 80.06 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=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: 3.8170968811027706]