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.0009088/0.0009088, allocations: 84.39 kB / 22.21 MB, free: 2.285 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.0009743/0.0009743, allocations: 166.8 kB / 25.6 MB, free: 8.926 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.9132/0.9132, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.313e-06/1.313e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.227e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.00854/0.008552, allocations: 11.31 MB / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.01373, allocations: 3.887 MB / 266.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008525/0.01459, allocations: 71.5 kB / 266.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.01586, allocations: 0.8466 MB / 267.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.01734, allocations: 1.075 MB / 268.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.018, allocations: 0.5381 MB / 269.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.02034, allocations: 3.59 MB / 272.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.02171, allocations: 1.478 MB / 274.3 MB, free: 284 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.024, allocations: 2.542 MB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.02541, allocations: 1.73 MB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004015/0.02581, allocations: 396 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.02654, allocations: 0.6205 MB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.02723, allocations: 1.157 MB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.02826, allocations: 1.243 MB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.03079, allocations: 2.986 MB / 284.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.03079, allocations: 4 kB / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0308, allocations: 0 / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.993e-05/0.03086, allocations: 0 / 285 MB, free: 5.582 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.005286/0.03614, allocations: 3.734 MB / 288.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.03619, allocations: 15.98 kB / 288.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.0372, allocations: 0.6587 MB / 289.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.03899, allocations: 1.584 MB / 290.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.03911, allocations: 201.8 kB / 291.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.03936, allocations: 268.1 kB / 291.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.04178, allocations: 2.029 MB / 293.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.04183, allocations: 7.891 kB / 293.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.04199, allocations: 108 kB / 293.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.0421, allocations: 121.2 kB / 293.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.04327, allocations: 0.7903 MB / 294.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.05471, allocations: 8.937 MB / 303.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.05632, allocations: 0.811 MB / 304.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.05735, allocations: 499.2 kB / 304.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.05759, allocations: 65.22 kB / 304.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.05764, allocations: 50.7 kB / 304.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 4.378e-06/0.05765, allocations: 0 / 304.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.008677/0.06632, allocations: 2.952 MB / 307.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.06636, allocations: 68.72 kB / 307.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.06791, allocations: 1.53 MB / 309.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.06798, allocations: 53.7 kB / 309.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.06875, allocations: 1.455 MB / 310.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.0691, allocations: 0.5384 MB / 311.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.06943, allocations: 344.9 kB / 311.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.06954, allocations: 476.8 kB / 312.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.06982, allocations: 211.8 kB / 312.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.07048, allocations: 0.9161 MB / 313.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.0716, allocations: 1.273 MB / 314.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.07161, allocations: 12 kB / 314.6 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002012/0.07362, allocations: 1.471 MB / 316.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.07365, allocations: 12 kB / 316.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.07367, allocations: 12.38 kB / 316.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.07436, allocations: 314.6 kB / 316.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.07513, allocations: 383.4 kB / 316.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.07841, allocations: 4.941 MB / 321.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.07924, allocations: 67.94 kB / 321.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.07933, allocations: 63.97 kB / 321.9 MB, free: 15.14 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.0005993/0.07993, allocations: 275.9 kB / 322.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.08024, allocations: 258.7 kB / 322.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.08179, allocations: 1.153 MB / 323.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.08181, allocations: 16 kB / 323.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.08182, allocations: 11.94 kB / 323.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.08183, allocations: 7.969 kB / 323.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.08637, allocations: 3.465 MB / 327 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.08638, allocations: 4 kB / 327 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.08697, allocations: 235.7 kB / 327.3 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/0.0878, allocations: 342.8 kB / 327.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.08791, allocations: 43.98 kB / 327.6 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.09242, allocations: 6.643 MB / 334.3 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.09243, allocations: 7.938 kB / 334.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.09496, allocations: 1.717 MB / 336 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.09566, allocations: 326.5 kB / 336.3 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.09582, allocations: 36.03 kB / 336.4 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.09635, allocations: 67.97 kB / 336.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.09658, allocations: 120.9 kB / 336.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.09664, allocations: 39.98 kB / 336.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.09766, allocations: 0.8277 MB / 337.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.09766, allocations: 0 / 337.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002093/0.09976, allocations: 0.5819 MB / 338 MB, free: 14.38 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.0004475/0.1002, allocations: 226.1 kB / 338.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.1021, allocations: 1.404 MB / 339.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.1021, allocations: 4 kB / 339.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.1032, allocations: 1.123 MB / 340.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.1044, allocations: 443 kB / 341.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.1113, allocations: 4.744 MB / 345.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.112, allocations: 0.7124 MB / 346.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.113, allocations: 247.7 kB / 346.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/0.1139, allocations: 0.494 MB / 347.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of SimCode: time 2.575e-06/0.1139, allocations: 0 / 347.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of Templates: time 0.1567/0.2705, allocations: 30.49 MB / 377.9 MB, free: 77.98 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.882856898009777]