Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.002518/0.002518, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002858/0.002858, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.888e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01804/0.01807, allocations: 11.62 MB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02844, allocations: 3.92 MB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.03122, allocations: 79.5 kB / 288 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.03459, allocations: 0.8428 MB / 288.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00466/0.03925, allocations: 1.086 MB / 289.9 MB, free: 200 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1491/0.1884, allocations: 0.5251 MB / 290.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00448/0.1928, allocations: 3.577 MB / 294 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.1952, allocations: 1.492 MB / 295.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.1998, allocations: 2.323 MB / 297.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.2038, allocations: 1.821 MB / 299.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.2052, allocations: 409.5 kB / 300 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.2081, allocations: 0.6242 MB / 300.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.2104, allocations: 1.208 MB / 301.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.2135, allocations: 1.282 MB / 303.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.2185, allocations: 5.493 MB / 308.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2186, allocations: 0.875 kB / 308.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2186, allocations: 0 / 308.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.2187, allocations: 1.312 kB / 308.6 MB, free: 9.93 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.0084/0.2271, allocations: 4.188 MB / 312.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2271, allocations: 8.031 kB / 312.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.2291, allocations: 0.686 MB / 313.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.2329, allocations: 1.861 MB / 315.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.233, allocations: 205.4 kB / 315.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.2334, allocations: 276.5 kB / 315.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/0.2386, allocations: 3.387 MB / 319.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.388e-05/0.2387, allocations: 4 kB / 319.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2389, allocations: 111 kB / 319.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.239, allocations: 121.2 kB / 319.5 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/0.2446, allocations: 2.247 MB / 321.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/0.2699, allocations: 12.94 MB / 334.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.2723, allocations: 1.119 MB / 335.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.2742, allocations: 0.7773 MB / 336.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.2745, allocations: 65.27 kB / 336.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.2745, allocations: 46.7 kB / 336.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.717e-06/0.2745, allocations: 0 / 336.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=148): time 0.01332/0.2879, allocations: 4.63 MB / 341.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.2879, allocations: 64.72 kB / 341.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/0.2917, allocations: 2.161 MB / 343.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.2919, allocations: 52.75 kB / 343.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.2934, allocations: 1.548 MB / 345.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/0.294, allocations: 0.5647 MB / 345.7 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.2948, allocations: 403.5 kB / 346.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.295, allocations: 480.7 kB / 346.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.2962, allocations: 0.4997 MB / 347 MB, free: 4.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.2982, allocations: 1.248 MB / 348.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/0.3018, allocations: 1.928 MB / 350.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.3018, allocations: 11.94 kB / 350.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005006/0.3068, allocations: 2.108 MB / 352.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.3069, allocations: 12 kB / 352.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.3069, allocations: 21.16 kB / 352.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.3084, allocations: 350.2 kB / 352.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.3101, allocations: 418.9 kB / 353.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.3171, allocations: 5.461 MB / 358.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.319, allocations: 125.7 kB / 358.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.3192, allocations: 71.98 kB / 358.8 MB, free: 8.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.001584/0.3208, allocations: 0.7059 MB / 359.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.3215, allocations: 250.7 kB / 359.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/0.3256, allocations: 1.65 MB / 361.4 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/0.3257, allocations: 19.94 kB / 361.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.3257, allocations: 4 kB / 361.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.3257, allocations: 7.969 kB / 361.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.3372, allocations: 4.652 MB / 366.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.3372, allocations: 12.02 kB / 366.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.3385, allocations: 267.2 kB / 366.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3402, allocations: 388.8 kB / 366.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.3403, allocations: 39.98 kB / 366.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008655/0.349, allocations: 7.237 MB / 374 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.349, allocations: 4 kB / 374 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.3547, allocations: 2.493 MB / 376.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.356, allocations: 374.4 kB / 376.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.3563, allocations: 39.98 kB / 376.9 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.3575, allocations: 91.91 kB / 377 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.3579, allocations: 124.5 kB / 377.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.358, allocations: 47.98 kB / 377.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002422/0.3604, allocations: 1.27 MB / 378.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3604, allocations: 0 / 378.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002214/0.3626, allocations: 0.582 MB / 379 MB, free: 3.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (125): * Single equations (assignments): 120 * 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%), (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.0005474/0.3632, allocations: 226.1 kB / 379.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.3674, allocations: 1.983 MB / 381.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3674, allocations: 4 kB / 381.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.3701, allocations: 1.415 MB / 382.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.3725, allocations: 457.1 kB / 383.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/0.3825, allocations: 5.057 MB / 388.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.3845, allocations: 1.478 MB / 389.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.3859, allocations: 363.5 kB / 390 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/0.3864, allocations: 132.5 kB / 390.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3864, allocations: 0 / 390.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of Templates: time 0.05832/0.4447, allocations: 29.71 MB / 419.8 MB, free: 11 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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: 6.28369907499291]