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.0009256/0.0009256, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009784/0.0009784, allocations: 160.4 kB / 25.45 MB, free: 9.348 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.914/0.914, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",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.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.798e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.007349/0.007377, allocations: 8.972 MB / 308.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.01215, allocations: 3.117 MB / 311.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.01323, allocations: 67.44 kB / 311.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.01458, allocations: 0.6944 MB / 312.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.01678, allocations: 0.912 MB / 313.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.01743, allocations: 427.2 kB / 313.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.01987, allocations: 3.081 MB / 317 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.02127, allocations: 1.313 MB / 318.3 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.02348, allocations: 1.992 MB / 320.3 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.02558, allocations: 1.488 MB / 321.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006408/0.02622, allocations: 360 kB / 322.1 MB, free: 356 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007459/0.02697, allocations: 455.7 kB / 322.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.02768, allocations: 1.059 MB / 323.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.02867, allocations: 1.099 MB / 324.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.03227, allocations: 4.74 MB / 329.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.03228, allocations: 7.984 kB / 329.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03228, allocations: 4 kB / 329.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.131e-05/0.03236, allocations: 0 / 329.5 MB, free: 8.973 MB / 314.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.004233/0.0366, allocations: 3.225 MB / 332.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.03664, allocations: 15.98 kB / 332.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.03717, allocations: 350.9 kB / 333.1 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.03912, allocations: 1.591 MB / 334.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.03921, allocations: 173 kB / 334.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004675/0.03968, allocations: 232.3 kB / 335 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.04299, allocations: 3.234 MB / 338.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.04303, allocations: 4 kB / 338.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.04317, allocations: 99.98 kB / 338.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.87e-05/0.04325, allocations: 108.5 kB / 338.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.04616, allocations: 2.692 MB / 341.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009099/0.05526, allocations: 8.405 MB / 349.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.0568, allocations: 1.407 MB / 351 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.05791, allocations: 1.047 MB / 352 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.05808, allocations: 64.83 kB / 352.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.05811, allocations: 47.56 kB / 352.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.596e-06/0.05811, allocations: 0 / 352.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.1402/0.1983, allocations: 6.249 MB / 358.4 MB, free: 58.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1984, allocations: 66 kB / 358.5 MB, free: 58.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.2002, allocations: 1.614 MB / 360.1 MB, free: 57.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.67e-05/0.2003, allocations: 46.05 kB / 360.1 MB, free: 57.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.2008, allocations: 1.185 MB / 361.3 MB, free: 56.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2011, allocations: 471.9 kB / 361.8 MB, free: 56.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.2014, allocations: 284.4 kB / 362 MB, free: 56.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.614e-05/0.2014, allocations: 301.8 kB / 362.3 MB, free: 55.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.2023, allocations: 0.7929 MB / 363.1 MB, free: 55.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009762/0.2033, allocations: 1.201 MB / 364.3 MB, free: 54.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.2051, allocations: 2.1 MB / 366.4 MB, free: 53.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2051, allocations: 4.312 kB / 366.4 MB, free: 53.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002748/0.2078, allocations: 2.583 MB / 369 MB, free: 52.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2079, allocations: 9.5 kB / 369 MB, free: 52.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.2079, allocations: 11.94 kB / 369 MB, free: 52.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.2085, allocations: 420.1 kB / 369.4 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.2091, allocations: 364.4 kB / 369.8 MB, free: 52.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.2123, allocations: 6.626 MB / 376.4 MB, free: 46.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.2132, allocations: 107.8 kB / 376.5 MB, free: 46.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.2132, allocations: 63.98 kB / 376.6 MB, free: 46.79 MB / 330.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.000977/0.2142, allocations: 0.7957 MB / 377.4 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.2144, allocations: 178.9 kB / 377.6 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.2164, allocations: 2.277 MB / 379.8 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2164, allocations: 15.94 kB / 379.9 MB, free: 43.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2164, allocations: 4 kB / 379.9 MB, free: 43.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2164, allocations: 7.969 kB / 379.9 MB, free: 43.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.2205, allocations: 4.43 MB / 384.3 MB, free: 39.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2205, allocations: 7.844 kB / 384.3 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.221, allocations: 235.6 kB / 384.5 MB, free: 38.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/0.2216, allocations: 457.1 kB / 385 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.2216, allocations: 36.86 kB / 385 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.2251, allocations: 8.076 MB / 393.1 MB, free: 29.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2252, allocations: 7.938 kB / 393.1 MB, free: 29.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.2282, allocations: 3.421 MB / 396.5 MB, free: 26.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.2288, allocations: 346.7 kB / 396.9 MB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2289, allocations: 39.92 kB / 396.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.2294, allocations: 87.91 kB / 397 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2295, allocations: 128.7 kB / 397.1 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.2296, allocations: 39.98 kB / 397.1 MB, free: 25.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009164/0.2305, allocations: 1.085 MB / 398.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2305, allocations: 0 / 398.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001293/0.2318, allocations: 0.5041 MB / 398.7 MB, free: 24.11 MB / 330.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.0003036/0.2321, allocations: 196.7 kB / 398.9 MB, free: 23.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.2342, allocations: 2.319 MB / 401.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2342, allocations: 0 / 401.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.2354, allocations: 1.556 MB / 402.8 MB, free: 19.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.2366, allocations: 425 kB / 403.2 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.2413, allocations: 4.96 MB / 408.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.2421, allocations: 1.406 MB / 409.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.2425, allocations: 128.5 kB / 409.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2425, allocations: 4 kB / 409.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Templates: time 0.05591/0.2984, allocations: 79.47 MB / 489.2 MB, free: 13.33 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.22409318946302]