Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.0009805/0.0009805, allocations: 75.75 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.001127/0.001127, allocations: 170.9 kB / 25.33 MB, free: 8.543 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.018/1.018, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 251.1 MB, free: 7.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.678e-05, allocations: 9.266 kB / 251.1 MB, free: 7.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0105/0.01054, allocations: 10.08 MB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006367/0.01691, allocations: 3.237 MB / 264.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.01839, allocations: 67.5 kB / 264.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.01991, allocations: 0.6946 MB / 265.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.02235, allocations: 0.9118 MB / 266 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.02316, allocations: 427.3 kB / 266.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.02637, allocations: 3.069 MB / 269.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.02802, allocations: 1.324 MB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.03114, allocations: 2.015 MB / 272.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.0336, allocations: 1.606 MB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009646/0.03456, allocations: 352 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.03548, allocations: 455.8 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.03634, allocations: 1.079 MB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.03814, allocations: 1.111 MB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.04131, allocations: 2.628 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.04132, allocations: 0 / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.04132, allocations: 0 / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.04144, allocations: 0 / 280.1 MB, free: 10.38 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005005/0.04644, allocations: 3.443 MB / 283.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.04647, allocations: 8.031 kB / 283.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/0.04725, allocations: 0.5263 MB / 284.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.04905, allocations: 1.489 MB / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.04915, allocations: 177 kB / 285.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.04938, allocations: 228.4 kB / 286 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.05189, allocations: 1.926 MB / 287.9 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.05194, allocations: 3.953 kB / 287.9 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.05207, allocations: 95.98 kB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003741/0.05245, allocations: 112.6 kB / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.05411, allocations: 0.8816 MB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008931/0.06305, allocations: 8.013 MB / 297 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.06418, allocations: 0.7757 MB / 297.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.06494, allocations: 0.5452 MB / 298.3 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.06513, allocations: 52.97 kB / 298.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.06516, allocations: 46.39 kB / 298.4 MB, free: 7.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.366e-06/0.06517, allocations: 0 / 298.4 MB, free: 7.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.005838/0.07101, allocations: 3.341 MB / 301.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.07105, allocations: 68.7 kB / 301.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.07288, allocations: 1.404 MB / 303.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.07295, allocations: 45.7 kB / 303.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006477/0.0736, allocations: 1.282 MB / 304.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.07392, allocations: 484 kB / 305 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.07423, allocations: 289.1 kB / 305.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.07434, allocations: 476.8 kB / 305.8 MB, free: 56 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.07477, allocations: 243.8 kB / 306 MB, free: 15.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.07543, allocations: 0.8139 MB / 306.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.0766, allocations: 1.195 MB / 308 MB, free: 13.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.07661, allocations: 4 kB / 308 MB, free: 13.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002089/0.0787, allocations: 1.428 MB / 309.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.07873, allocations: 12 kB / 309.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.07874, allocations: 15.98 kB / 309.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.07929, allocations: 258.9 kB / 309.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.07999, allocations: 355.4 kB / 310.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.08399, allocations: 6.612 MB / 316.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/0.08487, allocations: 103.8 kB / 316.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.08495, allocations: 60 kB / 316.8 MB, free: 4.098 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000664/0.08561, allocations: 252.1 kB / 317.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.0859, allocations: 230.8 kB / 317.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.08747, allocations: 1.17 MB / 318.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.08747, allocations: 12 kB / 318.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.08748, allocations: 4 kB / 318.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.08749, allocations: 7.969 kB / 318.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.09167, allocations: 3.337 MB / 321.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.09168, allocations: 7.984 kB / 321.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.09218, allocations: 235.6 kB / 322.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/0.09279, allocations: 286.9 kB / 322.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.09287, allocations: 39.97 kB / 322.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.09768, allocations: 8.421 MB / 330.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.09769, allocations: 4 kB / 330.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.1002, allocations: 1.736 MB / 332.6 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/0.1008, allocations: 330.7 kB / 332.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.1009, allocations: 28 kB / 332.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.1013, allocations: 87.91 kB / 333 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.1016, allocations: 124.6 kB / 333.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.1016, allocations: 39.98 kB / 333.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009142/0.1025, allocations: 0.8197 MB / 334 MB, free: 2.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1025, allocations: 0 / 334 MB, free: 2.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001378/0.1039, allocations: 0.496 MB / 334.5 MB, free: 1.672 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0003303/0.1042, allocations: 206.9 kB / 334.7 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.1063, allocations: 1.542 MB / 336.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1063, allocations: 4 kB / 336.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.1075, allocations: 1.293 MB / 337.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.1091, allocations: 433.9 kB / 337.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.1151, allocations: 4.279 MB / 342.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.1157, allocations: 0.656 MB / 342.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008976/0.1166, allocations: 346.3 kB / 343.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.1169, allocations: 124.5 kB / 343.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of SimCode: time 2.655e-06/0.1169, allocations: 0 / 343.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of Templates: time 0.16/0.2769, allocations: 26.87 MB / 370.2 MB, free: 85.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_DOL/SMR_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.6144956038333476]