Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001475/0.001475, 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.001513/0.001513, 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.565/1.565, allocations: 177.2 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.33e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01285/0.01288, allocations: 7.965 MB / 280.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.02014, allocations: 2.781 MB / 283.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.02161, allocations: 55.69 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.02371, allocations: 0.6015 MB / 283.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.02657, allocations: 0.8033 MB / 284.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.0276, allocations: 335.4 kB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.03123, allocations: 2.458 MB / 287.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.0332, allocations: 0.9813 MB / 288.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.03619, allocations: 1.594 MB / 289.9 MB, free: 132 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.117/0.1532, allocations: 1.172 MB / 291.1 MB, free: 17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.1543, allocations: 279.3 kB / 291.3 MB, free: 17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.1561, allocations: 380 kB / 291.7 MB, free: 17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000959/0.1571, allocations: 0.8351 MB / 292.5 MB, free: 17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.1585, allocations: 0.8684 MB / 293.4 MB, free: 17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.1632, allocations: 3.755 MB / 297.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1632, allocations: 1.094 kB / 297.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1632, allocations: 0.5 kB / 297.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.1633, allocations: 0.5938 kB / 297.2 MB, free: 16.82 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006827/0.1701, allocations: 2.555 MB / 299.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1702, allocations: 11.91 kB / 299.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1715, allocations: 457.8 kB / 300.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.174, allocations: 1.394 MB / 301.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1741, allocations: 132.8 kB / 301.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.1744, allocations: 187.2 kB / 301.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.1784, allocations: 2.507 MB / 304.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/0.1784, allocations: 18.48 kB / 304.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.1786, allocations: 79.88 kB / 304.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.092e-05/0.1787, allocations: 85.47 kB / 304.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.1816, allocations: 2.008 MB / 306.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009514/0.1911, allocations: 6.509 MB / 313.1 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1926, allocations: 0.9791 MB / 314.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.194, allocations: 0.8714 MB / 314.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.1942, allocations: 52.91 kB / 315 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1942, allocations: 43.56 kB / 315 MB, free: 5.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.657e-06/0.1942, allocations: 0 / 315 MB, free: 5.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.008078/0.2023, allocations: 4.708 MB / 319.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.2023, allocations: 68.39 kB / 319.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.2039, allocations: 1.249 MB / 321.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.204, allocations: 41.7 kB / 321.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.2048, allocations: 0.9413 MB / 322 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.2052, allocations: 364.1 kB / 322.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.2056, allocations: 210.9 kB / 322.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.2058, allocations: 356.9 kB / 323 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.207, allocations: 0.6311 MB / 323.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.2084, allocations: 0.9218 MB / 324.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.2112, allocations: 1.65 MB / 326.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.2112, allocations: 4 kB / 326.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004866/0.2161, allocations: 2.424 MB / 328.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.2161, allocations: 8.25 kB / 328.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.2161, allocations: 15.94 kB / 328.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/0.2189, allocations: 0.8976 MB / 329.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/0.2199, allocations: 229.9 kB / 329.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.233, allocations: 8.423 MB / 338.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.2344, allocations: 80.08 kB / 338.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2345, allocations: 47.98 kB / 338.3 MB, free: 14.36 MB / 298.7 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.001353/0.2359, allocations: 0.6319 MB / 338.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.2363, allocations: 178.2 kB / 339.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/0.2403, allocations: 1.88 MB / 341 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2403, allocations: 8 kB / 341 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2403, allocations: 4 kB / 341 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.2404, allocations: 7.922 kB / 341 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/0.248, allocations: 3.524 MB / 344.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.248, allocations: 10.88 kB / 344.5 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.2489, allocations: 178.6 kB / 344.7 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.2504, allocations: 0.4901 MB / 345.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.2505, allocations: 27.98 kB / 345.2 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008152/0.2587, allocations: 6.282 MB / 351.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.2587, allocations: 7.969 kB / 351.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.2643, allocations: 2.792 MB / 354.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.2656, allocations: 271 kB / 354.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.266, allocations: 28 kB / 354.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/0.267, allocations: 67.92 kB / 354.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.2673, allocations: 88.3 kB / 354.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.2673, allocations: 27.98 kB / 354.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.2689, allocations: 0.8613 MB / 355.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2689, allocations: 0 / 355.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001787/0.2707, allocations: 432 kB / 356.1 MB, free: 12.25 MB / 314.7 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.0004172/0.2711, allocations: 178.4 kB / 356.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003845/0.275, allocations: 1.95 MB / 358.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.275, allocations: 0.625 kB / 358.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.2773, allocations: 1.227 MB / 359.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.2792, allocations: 333 kB / 359.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/0.2869, allocations: 3.951 MB / 363.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.2884, allocations: 1.122 MB / 364.8 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009711/0.2893, allocations: 299 kB / 365.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.2897, allocations: 99.44 kB / 365.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/0.2897, allocations: 3.656 kB / 365.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of Templates: time 0.0441/0.3338, allocations: 23.12 MB / 388.3 MB, free: 12.27 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.30856055195909]