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.001729/0.001729, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002091/0.002091, allocations: 161.7 kB / 24.27 MB, free: 172 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.553e-06/1.553e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.647e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01524/0.01526, allocations: 10.43 MB / 282.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.02388, allocations: 3.78 MB / 286.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.02559, allocations: 83.5 kB / 286.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.02797, allocations: 0.8545 MB / 287.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.03114, allocations: 1.079 MB / 288.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.03246, allocations: 0.5304 MB / 289.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1176/0.1501, allocations: 3.572 MB / 292.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.1532, allocations: 1.488 MB / 294.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.1574, allocations: 2.301 MB / 296.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.1606, allocations: 1.684 MB / 298.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009719/0.1616, allocations: 409.1 kB / 298.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.1633, allocations: 0.6268 MB / 299.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.1645, allocations: 1.197 MB / 300.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.1663, allocations: 1.269 MB / 301.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.1721, allocations: 5.459 MB / 307.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1721, allocations: 0.75 kB / 307.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1721, allocations: 2.875 kB / 307.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.1723, allocations: 2.188 kB / 307.1 MB, free: 11.05 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.007666/0.1799, allocations: 3.711 MB / 310.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.18, allocations: 9.812 kB / 310.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.1819, allocations: 0.6851 MB / 311.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.1849, allocations: 1.987 MB / 313.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1851, allocations: 209.7 kB / 313.7 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.1854, allocations: 275.7 kB / 314 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/0.1902, allocations: 3.649 MB / 317.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.1903, allocations: 3.75 kB / 317.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.1905, allocations: 111 kB / 317.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.1906, allocations: 129.2 kB / 317.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/0.1954, allocations: 2.956 MB / 320.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/0.2171, allocations: 9.731 MB / 330.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.2202, allocations: 1.503 MB / 332 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.2225, allocations: 1.098 MB / 333.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.2227, allocations: 59.34 kB / 333.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.2228, allocations: 59.16 kB / 333.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.356e-06/0.2228, allocations: 0 / 333.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.01901/0.2418, allocations: 7.126 MB / 340.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.2419, allocations: 68.72 kB / 340.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/0.2457, allocations: 1.827 MB / 342.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.246, allocations: 53.7 kB / 342.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.2476, allocations: 1.356 MB / 343.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000779/0.2484, allocations: 0.5212 MB / 344.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006599/0.249, allocations: 326.3 kB / 344.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2492, allocations: 309 kB / 344.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.251, allocations: 0.8862 MB / 345.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.2532, allocations: 1.373 MB / 347.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/0.2573, allocations: 2.376 MB / 349.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.2573, allocations: 4 kB / 349.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00675/0.2641, allocations: 2.981 MB / 352.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.2641, allocations: 12.62 kB / 352.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.2642, allocations: 18.67 kB / 352.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.266, allocations: 0.5203 MB / 353 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.2678, allocations: 428.1 kB / 353.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0087/0.2765, allocations: 5.805 MB / 359.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.2787, allocations: 131.8 kB / 359.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.2789, allocations: 72.14 kB / 359.4 MB, free: 8.16 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.002155/0.2811, allocations: 0.8646 MB / 360.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008337/0.2819, allocations: 254.7 kB / 360.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.2873, allocations: 2.493 MB / 363 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.2873, allocations: 19.94 kB / 363 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.2873, allocations: 4 kB / 363 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.2873, allocations: 11.97 kB / 363.1 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.2983, allocations: 4.863 MB / 367.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.2983, allocations: 0 / 367.9 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.2996, allocations: 282 kB / 368.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.3016, allocations: 0.5436 MB / 368.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.3018, allocations: 43.97 kB / 368.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.3118, allocations: 7.264 MB / 376 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3118, allocations: 4 kB / 376.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008229/0.32, allocations: 3.786 MB / 379.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.3216, allocations: 394.7 kB / 380.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.3219, allocations: 39.97 kB / 380.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.3232, allocations: 95.89 kB / 380.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/0.3236, allocations: 132.4 kB / 380.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.3237, allocations: 43.98 kB / 380.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.326, allocations: 1.239 MB / 381.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.326, allocations: 0 / 381.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002543/0.3285, allocations: 0.5819 MB / 382.3 MB, free: 0.9297 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.0005741/0.3291, allocations: 227 kB / 382.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005174/0.3343, allocations: 2.455 MB / 385 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3343, allocations: 0 / 385 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.3375, allocations: 1.54 MB / 386.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.3405, allocations: 457.2 kB / 387 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.3527, allocations: 5.595 MB / 392.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.3551, allocations: 1.584 MB / 394.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00181/0.3569, allocations: 451.5 kB / 394.6 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/0.3575, allocations: 132.5 kB / 394.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of SimCode: time 2.785e-06/0.3575, allocations: 4 kB / 394.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of Templates: time 0.06826/0.4258, allocations: 29.66 MB / 424.4 MB, free: 7.23 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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.296106975991279]