Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001866/0.001866, allocations: 89.22 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002452/0.002452, allocations: 159.1 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.23e-05, allocations: 2.281 kB / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01139/0.01142, allocations: 7.954 MB / 333 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006955/0.01838, allocations: 2.787 MB / 335.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.02029, allocations: 55.59 kB / 335.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.02211, allocations: 0.5988 MB / 336.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.02467, allocations: 0.8036 MB / 337.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.02545, allocations: 332.6 kB / 337.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003066/0.02852, allocations: 2.467 MB / 340 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.02992, allocations: 0.9864 MB / 341 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.03206, allocations: 1.59 MB / 342.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.03376, allocations: 1.181 MB / 343.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.03414, allocations: 280 kB / 344.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.03484, allocations: 375.8 kB / 344.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008398/0.03568, allocations: 0.8335 MB / 345.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.03673, allocations: 0.8653 MB / 346.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.04057, allocations: 3.743 MB / 349.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.04058, allocations: 4 kB / 349.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04058, allocations: 0 / 349.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.368e-05/0.04064, allocations: 4 kB / 349.9 MB, free: 12.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005415/0.04606, allocations: 2.563 MB / 352.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.04612, allocations: 11.98 kB / 352.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.04714, allocations: 303.3 kB / 352.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.04968, allocations: 1.348 MB / 354.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.04985, allocations: 135.9 kB / 354.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.05015, allocations: 184.4 kB / 354.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.05465, allocations: 2.514 MB / 356.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.05471, allocations: 7.938 kB / 356.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.05489, allocations: 72 kB / 357 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.05501, allocations: 91.48 kB / 357.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.0588, allocations: 2.016 MB / 359.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.07091, allocations: 6.39 MB / 365.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.07298, allocations: 0.9912 MB / 366.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.07486, allocations: 0.8693 MB / 367.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.07507, allocations: 44.97 kB / 367.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.07513, allocations: 39.56 kB / 367.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.096e-06/0.07513, allocations: 0 / 367.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01039/0.08552, allocations: 4.675 MB / 372.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.08558, allocations: 64.41 kB / 372.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.08764, allocations: 1.241 MB / 373.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.08774, allocations: 53.7 kB / 373.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009179/0.08866, allocations: 0.9336 MB / 374.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.08907, allocations: 360.9 kB / 374.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.08946, allocations: 210.9 kB / 375 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.08965, allocations: 361.9 kB / 375.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.09074, allocations: 0.6311 MB / 375.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.09216, allocations: 0.922 MB / 376.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.09477, allocations: 1.649 MB / 378.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.09477, allocations: 0 / 378.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004646/0.09942, allocations: 2.36 MB / 380.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.09945, allocations: 16.19 kB / 380.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.09946, allocations: 8 kB / 380.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.1014, allocations: 0.7171 MB / 381.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/0.1023, allocations: 235.6 kB / 381.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.1143, allocations: 8.383 MB / 390.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.1154, allocations: 91.81 kB / 390.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1155, allocations: 47.98 kB / 390.4 MB, free: 2.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.1168, allocations: 0.6264 MB / 391 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.1171, allocations: 143.1 kB / 391.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.1206, allocations: 1.881 MB / 393 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.1206, allocations: 15.98 kB / 393 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.1206, allocations: 7.938 kB / 393 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1206, allocations: 3.984 kB / 393 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.1274, allocations: 3.537 MB / 396.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1274, allocations: 0 / 396.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/0.1282, allocations: 184 kB / 396.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.1295, allocations: 458.9 kB / 397.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.725e-05/0.1296, allocations: 31.98 kB / 397.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007221/0.1368, allocations: 6.274 MB / 403.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1368, allocations: 0 / 403.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/0.1417, allocations: 2.756 MB / 406.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/0.1424, allocations: 271 kB / 406.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.1426, allocations: 20 kB / 406.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.1433, allocations: 75.91 kB / 406.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.1435, allocations: 84.72 kB / 406.7 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.1436, allocations: 31.98 kB / 406.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.145, allocations: 0.8575 MB / 407.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 0 / 407.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001445/0.1464, allocations: 431.9 kB / 408 MB, free: 0.5859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(2,12,100.0%), (1,1,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.0004036/0.1468, allocations: 187 kB / 408.2 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.1504, allocations: 1.938 MB / 410.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1504, allocations: 0.625 kB / 410.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.1526, allocations: 1.221 MB / 411.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.1542, allocations: 315.8 kB / 411.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.1608, allocations: 3.908 MB / 415.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.1621, allocations: 1.118 MB / 416.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008537/0.163, allocations: 299 kB / 417 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.1633, allocations: 88.48 kB / 417.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1633, allocations: 0 / 417.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of Templates: time 0.04217/0.2054, allocations: 22.99 MB / 440.1 MB, free: 0.6211 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.313104286789894]