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.001915/0.001915, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002286/0.002286, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.469/1.469, allocations: 177.1 MB / 204.7 MB, free: 9.016 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 0.001888/0.001888, allocations: 64.91 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1073, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01143/0.1188, allocations: 7.956 MB / 386.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.1251, allocations: 2.773 MB / 389.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1265, allocations: 55.69 kB / 389.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.1284, allocations: 0.5901 MB / 390.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.1312, allocations: 0.7768 MB / 391.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.1321, allocations: 335.5 kB / 391.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.1352, allocations: 2.381 MB / 393.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.1367, allocations: 0.9852 MB / 394.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.1385, allocations: 1.102 MB / 395.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.1408, allocations: 1.307 MB / 397.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004635/0.1412, allocations: 280 kB / 397.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.1421, allocations: 375.8 kB / 397.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.1429, allocations: 0.818 MB / 398.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.1442, allocations: 1.019 MB / 399.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.1489, allocations: 3.733 MB / 403.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1489, allocations: 0 / 403.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1489, allocations: 0 / 403.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.537e-05/0.149, allocations: 0 / 403.4 MB, free: 6.902 MB / 366.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.00561/0.1546, allocations: 2.583 MB / 406 MB, free: 4.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1546, allocations: 15.98 kB / 406 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1556, allocations: 303.3 kB / 406.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1583, allocations: 1.349 MB / 407.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.1584, allocations: 140 kB / 407.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.1587, allocations: 187.9 kB / 408 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.1631, allocations: 2.506 MB / 410.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/0.1631, allocations: 8 kB / 410.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.1633, allocations: 72 kB / 410.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1634, allocations: 91.42 kB / 410.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.1671, allocations: 2.009 MB / 412.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.1788, allocations: 6.402 MB / 419 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.1806, allocations: 0.9866 MB / 420 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.1824, allocations: 0.8538 MB / 420.9 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.1826, allocations: 44.97 kB / 420.9 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1827, allocations: 39.56 kB / 421 MB, free: 4.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.055e-06/0.1827, allocations: 0 / 421 MB, free: 4.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009833/0.1925, allocations: 4.687 MB / 425.6 MB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.1926, allocations: 68.41 kB / 425.7 MB, free: 168 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.1946, allocations: 1.253 MB / 427 MB, free: 14.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.1947, allocations: 45.7 kB / 427 MB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000721/0.1954, allocations: 0.9297 MB / 427.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.1958, allocations: 368.9 kB / 428.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.1961, allocations: 218.9 kB / 428.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1963, allocations: 349.9 kB / 428.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.1973, allocations: 0.6311 MB / 429.5 MB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.1986, allocations: 0.9259 MB / 430.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.2011, allocations: 1.645 MB / 432.1 MB, free: 9.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.2011, allocations: 8 kB / 432.1 MB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00474/0.2058, allocations: 2.375 MB / 434.4 MB, free: 7.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2059, allocations: 8 kB / 434.5 MB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.2059, allocations: 8 kB / 434.5 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.2077, allocations: 0.7173 MB / 435.2 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.2086, allocations: 227.7 kB / 435.4 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.2201, allocations: 8.383 MB / 443.8 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.2213, allocations: 84.03 kB / 443.9 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2214, allocations: 51.92 kB / 443.9 MB, free: 13.46 MB / 414.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.001207/0.2226, allocations: 0.6416 MB / 444.6 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.2229, allocations: 139.1 kB / 444.7 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.2266, allocations: 1.877 MB / 446.6 MB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.2266, allocations: 8 kB / 446.6 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.2266, allocations: 4 kB / 446.6 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.2266, allocations: 3.984 kB / 446.6 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/0.2344, allocations: 3.534 MB / 450.1 MB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2344, allocations: 0 / 450.1 MB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.2352, allocations: 179.8 kB / 450.3 MB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.2365, allocations: 467 kB / 450.7 MB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.2366, allocations: 27.98 kB / 450.8 MB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00703/0.2436, allocations: 6.262 MB / 457 MB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.2436, allocations: 8.031 kB / 457 MB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.2486, allocations: 2.764 MB / 459.8 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/0.2494, allocations: 271 kB / 460.1 MB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.2497, allocations: 23.98 kB / 460.1 MB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.2504, allocations: 79.86 kB / 460.2 MB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.2507, allocations: 84.77 kB / 460.3 MB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.2508, allocations: 31.98 kB / 460.3 MB, free: 12.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.2521, allocations: 0.8536 MB / 461.1 MB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2521, allocations: 0 / 461.1 MB, free: 11.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001522/0.2537, allocations: 435.9 kB / 461.6 MB, free: 11.32 MB / 430.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.0004022/0.2541, allocations: 179 kB / 461.7 MB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003544/0.2576, allocations: 1.938 MB / 463.7 MB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2576, allocations: 0 / 463.7 MB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002188/0.2598, allocations: 1.233 MB / 464.9 MB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.2615, allocations: 323.3 kB / 465.2 MB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.2682, allocations: 4.064 MB / 469.3 MB, free: 3.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.2696, allocations: 1.122 MB / 470.4 MB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009131/0.2705, allocations: 299 kB / 470.7 MB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.2707, allocations: 92.48 kB / 470.8 MB, free: 1.918 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2708, allocations: 0 / 470.8 MB, free: 1.918 MB / 430.1 MB Notification: Performance of Templates: time 0.2197/0.4905, allocations: 23.13 MB / 493.9 MB, free: 76.06 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/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.458880421007052]