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.000954/0.000954, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001063/0.001063, allocations: 163.7 kB / 25.33 MB, free: 9.066 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.8902/0.8902, allocations: 158.6 MB / 187.2 MB, free: 2.898 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.272e-06/1.272e-06, allocations: 0 / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.928e-05, allocations: 2.312 kB / 251.1 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01033/0.01035, allocations: 11.63 MB / 262.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.01696, allocations: 3.918 MB / 266.6 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.01836, allocations: 71.5 kB / 266.7 MB, free: 7.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.02029, allocations: 0.8427 MB / 267.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.02232, allocations: 1.071 MB / 268.6 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.02324, allocations: 0.5419 MB / 269.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.02616, allocations: 3.579 MB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.02784, allocations: 1.478 MB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.03044, allocations: 2.546 MB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.03188, allocations: 1.722 MB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.03225, allocations: 396 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007998/0.03305, allocations: 0.6166 MB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.03373, allocations: 1.157 MB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.03504, allocations: 1.251 MB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.03761, allocations: 2.986 MB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.03761, allocations: 0 / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03761, allocations: 0 / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.723e-05/0.03765, allocations: 0 / 284.9 MB, free: 5.492 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.004788/0.04244, allocations: 3.816 MB / 288.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.04248, allocations: 11.98 kB / 288.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.0435, allocations: 0.6665 MB / 289.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.04529, allocations: 1.675 MB / 291 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.04541, allocations: 205.8 kB / 291.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.04568, allocations: 270.8 kB / 291.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.04852, allocations: 2.198 MB / 293.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.04857, allocations: 15.83 kB / 293.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.04874, allocations: 112 kB / 293.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.04885, allocations: 125.2 kB / 293.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.05073, allocations: 0.991 MB / 294.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009825/0.06056, allocations: 9.047 MB / 304 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.06176, allocations: 0.8893 MB / 304.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.06252, allocations: 0.5539 MB / 305.4 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.0627, allocations: 53.28 kB / 305.5 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.06273, allocations: 54.7 kB / 305.5 MB, free: 240 kB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.287e-06/0.06273, allocations: 4 kB / 305.5 MB, free: 236 kB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005865/0.0686, allocations: 3.718 MB / 309.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.06864, allocations: 64.72 kB / 309.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.07029, allocations: 1.57 MB / 310.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.07035, allocations: 49.7 kB / 310.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.07101, allocations: 1.443 MB / 312.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.0713, allocations: 0.5346 MB / 312.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.07165, allocations: 337.1 kB / 313.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.07175, allocations: 476.8 kB / 313.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.07219, allocations: 275.8 kB / 314 MB, free: 7.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.07295, allocations: 0.9632 MB / 314.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.07426, allocations: 1.394 MB / 316.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.07426, allocations: 4 kB / 316.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002515/0.07678, allocations: 1.628 MB / 318 MB, free: 3.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.0768, allocations: 12 kB / 318 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.07682, allocations: 12 kB / 318 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/0.07755, allocations: 315.1 kB / 318.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.07835, allocations: 407.3 kB / 318.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.08208, allocations: 5.111 MB / 323.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.08284, allocations: 107.9 kB / 323.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.08294, allocations: 75.98 kB / 324 MB, free: 12.83 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.0005799/0.08352, allocations: 268 kB / 324.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.08381, allocations: 254.6 kB / 324.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.08554, allocations: 1.27 MB / 325.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.08556, allocations: 16 kB / 325.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.08557, allocations: 4 kB / 325.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.08558, allocations: 11.91 kB / 325.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.09018, allocations: 3.595 MB / 329.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.09019, allocations: 4 kB / 329.4 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.09077, allocations: 268 kB / 329.7 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007723/0.09154, allocations: 366.7 kB / 330 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.09161, allocations: 35.98 kB / 330 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.09551, allocations: 6.816 MB / 336.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.09552, allocations: 7.938 kB / 336.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.09808, allocations: 1.889 MB / 338.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.09861, allocations: 358.5 kB / 339.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.09875, allocations: 32 kB / 339.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.09924, allocations: 79.92 kB / 339.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.09943, allocations: 125 kB / 339.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.09949, allocations: 43.98 kB / 339.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008806/0.1004, allocations: 0.9218 MB / 340.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1004, allocations: 0 / 340.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001391/0.1018, allocations: 0.578 MB / 340.9 MB, free: 11.28 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003454/0.1021, allocations: 226 kB / 341.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.1039, allocations: 1.529 MB / 342.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1039, allocations: 4 kB / 342.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.105, allocations: 1.186 MB / 343.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.106, allocations: 445.2 kB / 344.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/0.1119, allocations: 4.801 MB / 349.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.1125, allocations: 0.7046 MB / 349.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007457/0.1132, allocations: 367.4 kB / 350.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.1135, allocations: 132.5 kB / 350.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1135, allocations: 0 / 350.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of Templates: time 0.1485/0.2621, allocations: 29.93 MB / 380.2 MB, free: 75.49 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.9650543979369104]