Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 99.86 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002463/0.002463, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.351e-05/4.533e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02154/0.02159, allocations: 11.58 MB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.03237, allocations: 3.862 MB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.03478, allocations: 79.5 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.03826, allocations: 0.8427 MB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.04332, allocations: 1.063 MB / 284.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.0453, allocations: 0.5341 MB / 285.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.05176, allocations: 3.571 MB / 288.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1375/0.1892, allocations: 1.484 MB / 290.3 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/0.1958, allocations: 2.313 MB / 292.7 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/0.2007, allocations: 1.813 MB / 294.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.2022, allocations: 409.1 kB / 294.9 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.2046, allocations: 0.625 MB / 295.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.2065, allocations: 1.212 MB / 296.7 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.2094, allocations: 1.281 MB / 298 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006693/0.2161, allocations: 5.482 MB / 303.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2161, allocations: 0 / 303.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2161, allocations: 1.375 kB / 303.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001713/0.2163, allocations: 0 / 303.5 MB, free: 14.81 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.0107/0.227, allocations: 4.164 MB / 307.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.227, allocations: 12.14 kB / 307.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.2288, allocations: 0.6565 MB / 308.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.2325, allocations: 1.843 MB / 310.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.2327, allocations: 200 kB / 310.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.233, allocations: 271 kB / 310.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.2386, allocations: 3.391 MB / 314 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.2387, allocations: 7.219 kB / 314 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.2389, allocations: 110.4 kB / 314.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.239, allocations: 119.6 kB / 314.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.2428, allocations: 2.253 MB / 316.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.2639, allocations: 12.93 MB / 329.4 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.2665, allocations: 1.112 MB / 330.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.2684, allocations: 0.7764 MB / 331.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.2687, allocations: 69.27 kB / 331.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.2687, allocations: 46.7 kB / 331.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 4.037e-06/0.2687, allocations: 0 / 331.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.01405/0.2828, allocations: 4.631 MB / 336 MB, free: 2.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.2829, allocations: 68.72 kB / 336.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.287, allocations: 2.172 MB / 338.3 MB, free: 4 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/0.2873, allocations: 55.97 kB / 338.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.2889, allocations: 1.524 MB / 339.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/0.2898, allocations: 0.5784 MB / 340.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.2906, allocations: 393.1 kB / 340.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.2908, allocations: 484.7 kB / 341.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.2921, allocations: 0.4997 MB / 341.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.2941, allocations: 1.251 MB / 343 MB, free: 10.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.2976, allocations: 1.928 MB / 345 MB, free: 8.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.2976, allocations: 7.938 kB / 345 MB, free: 8.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005207/0.3029, allocations: 2.115 MB / 347.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.3029, allocations: 12 kB / 347.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.3029, allocations: 16.38 kB / 347.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.3045, allocations: 346.6 kB / 347.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.3061, allocations: 418.4 kB / 347.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/0.313, allocations: 5.458 MB / 353.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.3149, allocations: 115.8 kB / 353.4 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.315, allocations: 76 kB / 353.5 MB, free: 148 kB / 298.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.001605/0.3166, allocations: 0.6996 MB / 354.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/0.3173, allocations: 250.7 kB / 354.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.3214, allocations: 1.655 MB / 356.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/0.3214, allocations: 27.92 kB / 356.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3214, allocations: 8 kB / 356.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.3214, allocations: 7.984 kB / 356.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.3325, allocations: 4.645 MB / 360.8 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.3325, allocations: 4 kB / 360.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.3338, allocations: 269.7 kB / 361.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.3356, allocations: 399 kB / 361.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.3357, allocations: 39.97 kB / 361.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008411/0.3441, allocations: 7.245 MB / 368.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3441, allocations: 0 / 368.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008224/0.3523, allocations: 2.509 MB / 371.3 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.3543, allocations: 362.5 kB / 371.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/0.355, allocations: 35.98 kB / 371.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.3572, allocations: 95.89 kB / 371.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005153/0.3577, allocations: 124.2 kB / 371.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.3579, allocations: 47.98 kB / 371.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003596/0.3615, allocations: 1.262 MB / 373.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3615, allocations: 0 / 373.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004165/0.3656, allocations: 0.582 MB / 373.8 MB, free: 11.51 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.0008203/0.3665, allocations: 230.8 kB / 374 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006615/0.3731, allocations: 1.979 MB / 376 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.3731, allocations: 0 / 376 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004225/0.3773, allocations: 1.417 MB / 377.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/0.3813, allocations: 444.2 kB / 377.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.3975, allocations: 5.062 MB / 382.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/0.4006, allocations: 1.478 MB / 384.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002429/0.403, allocations: 359.5 kB / 384.7 MB, free: 448 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.4037, allocations: 132.5 kB / 384.8 MB, free: 316 kB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.4037, allocations: 0 / 384.8 MB, free: 316 kB / 330.7 MB Notification: Performance of Templates: time 0.08255/0.4863, allocations: 29.65 MB / 414.5 MB, free: 3.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.320181571994908]