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.001182/0.001182, allocations: 81.05 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.003047, allocations: 453.8 kB / 10.46 MB, free: 232 kB / 10.45 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.0009954/0.0009954, allocations: 165.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002493, allocations: 483.5 kB / 11.83 MB, free: 2.332 MB / 13.93 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.9128/0.9128, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1471/1.06, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.784e-06/1.784e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.396e-05, allocations: 6.109 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01205/0.01206, allocations: 9.932 MB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.01969, allocations: 3.361 MB / 235.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.02076, allocations: 59.56 kB / 235.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.02223, allocations: 0.714 MB / 236.1 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.02447, allocations: 0.9235 MB / 237 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008846/0.02536, allocations: 415.4 kB / 237.4 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.02857, allocations: 3.092 MB / 240.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.02983, allocations: 1.352 MB / 241.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.03256, allocations: 2.441 MB / 244.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.03431, allocations: 1.524 MB / 245.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005948/0.0349, allocations: 344 kB / 246.1 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.03564, allocations: 443.8 kB / 246.6 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.03623, allocations: 0.8377 MB / 247.4 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.03713, allocations: 0.8929 MB / 248.3 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.03909, allocations: 2.414 MB / 250.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.0391, allocations: 0 / 250.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0391, allocations: 0 / 250.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.8e-05/0.03918, allocations: 0 / 250.7 MB, free: 3.125 MB / 250.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.00366/0.04284, allocations: 3.571 MB / 254.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.04287, allocations: 12.03 kB / 254.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.04352, allocations: 489.7 kB / 254.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.0448, allocations: 1.111 MB / 255.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.0449, allocations: 181 kB / 256.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.04514, allocations: 232.3 kB / 256.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.04698, allocations: 1.795 MB / 258.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.04702, allocations: 0 / 258.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.04716, allocations: 104 kB / 258.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/0.04723, allocations: 108.5 kB / 258.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.04819, allocations: 0.6919 MB / 259 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/0.05417, allocations: 6.225 MB / 265.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.05501, allocations: 0.7525 MB / 266 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.05558, allocations: 463.5 kB / 266.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.05573, allocations: 56.97 kB / 266.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.05576, allocations: 47.56 kB / 266.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.355e-06/0.05576, allocations: 0 / 266.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004116/0.05988, allocations: 2.624 MB / 269.1 MB, free: 100 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.05991, allocations: 68.72 kB / 269.2 MB, free: 20 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.0607, allocations: 1.131 MB / 270.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.06076, allocations: 45.7 kB / 270.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.06114, allocations: 0.9687 MB / 271.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.06136, allocations: 471.9 kB / 271.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.06161, allocations: 267.4 kB / 272.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.06168, allocations: 305.1 kB / 272.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.06192, allocations: 182.8 kB / 272.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.0623, allocations: 0.5694 MB / 273.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.06308, allocations: 0.9674 MB / 274.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.06309, allocations: 8 kB / 274.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001205/0.06429, allocations: 1.047 MB / 275.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.06431, allocations: 16.28 kB / 275.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.06432, allocations: 16 kB / 275.2 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.06478, allocations: 237.6 kB / 275.4 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.06552, allocations: 367.5 kB / 275.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.06832, allocations: 4.724 MB / 280.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.06877, allocations: 55.94 kB / 280.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.06884, allocations: 51.98 kB / 280.6 MB, free: 3.934 MB / 282.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.0003684/0.0692, allocations: 216.2 kB / 280.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.06939, allocations: 147.8 kB / 280.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.07048, allocations: 0.8908 MB / 281.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.07049, allocations: 16 kB / 281.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.07049, allocations: 4 kB / 281.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.0705, allocations: 11.95 kB / 281.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/0.182, allocations: 2.612 MB / 284.5 MB, free: 46.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.182, allocations: 4 kB / 284.5 MB, free: 46.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.1832, allocations: 298.6 kB / 284.8 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.1838, allocations: 224.9 kB / 285 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006025/0.1844, allocations: 260.2 kB / 285.3 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.1845, allocations: 38.86 kB / 285.3 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.1875, allocations: 5.899 MB / 291.2 MB, free: 41.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.1875, allocations: 12.52 kB / 291.2 MB, free: 41.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.1892, allocations: 1.323 MB / 292.5 MB, free: 40.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.1894, allocations: 33.56 kB / 292.6 MB, free: 40.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.1897, allocations: 52.11 kB / 292.6 MB, free: 40.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.19, allocations: 112 kB / 292.7 MB, free: 40.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.19, allocations: 35.44 kB / 292.8 MB, free: 40.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006141/0.1906, allocations: 0.5658 MB / 293.3 MB, free: 40.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1906, allocations: 0 / 293.3 MB, free: 40.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001274/0.1919, allocations: 0.4918 MB / 293.8 MB, free: 40.89 MB / 282.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%), (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.0002837/0.1922, allocations: 177.2 kB / 294 MB, free: 40.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.1937, allocations: 1.21 MB / 295.2 MB, free: 40.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.616e-05/0.1937, allocations: 33.27 kB / 295.2 MB, free: 40.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.1946, allocations: 1.03 MB / 296.3 MB, free: 39.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.1962, allocations: 4.109 MB / 300.4 MB, free: 35.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.2108, allocations: 4.202 MB / 304.6 MB, free: 34.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.2112, allocations: 0.5834 MB / 305.1 MB, free: 33.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.2118, allocations: 227.2 kB / 305.4 MB, free: 33.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/0.2124, allocations: 433.1 kB / 305.8 MB, free: 33.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2124, allocations: 4 kB / 305.8 MB, free: 33.79 MB / 282.7 MB Notification: Performance of Templates: time 0.02899/0.2414, allocations: 28.27 MB / 334.1 MB, free: 10.72 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.170026618987322]