Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001205/0.001205, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002154/0.003359, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001209/0.001209, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002782, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9634/0.9634, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09589/1.059, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.041e-05, allocations: 2.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01093/0.01095, allocations: 8.76 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006667/0.01762, allocations: 2.912 MB / 251.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.01881, allocations: 51.69 kB / 251.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.0204, allocations: 0.6132 MB / 251.9 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.02279, allocations: 0.7994 MB / 252.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.0236, allocations: 315.4 kB / 253 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.02674, allocations: 2.465 MB / 255.5 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.02842, allocations: 1.009 MB / 256.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.03104, allocations: 1.915 MB / 258.4 MB, free: 188 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.03257, allocations: 1.212 MB / 259.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.03316, allocations: 272 kB / 259.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.03378, allocations: 359.8 kB / 260.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.03425, allocations: 0.6585 MB / 260.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007522/0.035, allocations: 0.7136 MB / 261.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.03668, allocations: 1.873 MB / 263.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.0367, allocations: 0 / 263.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0367, allocations: 4 kB / 263.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.716e-05/0.03679, allocations: 4 kB / 263.5 MB, free: 11.09 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.003115/0.0399, allocations: 2.808 MB / 266.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.03993, allocations: 12.03 kB / 266.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.04046, allocations: 409.8 kB / 266.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.04159, allocations: 0.9355 MB / 267.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.04166, allocations: 132 kB / 267.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.04185, allocations: 192.3 kB / 267.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.04325, allocations: 1.383 MB / 269.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.04329, allocations: 15.83 kB / 269.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.04339, allocations: 75.98 kB / 269.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.04346, allocations: 91.48 kB / 269.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.04419, allocations: 0.5188 MB / 270 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/0.1729, allocations: 4.781 MB / 274.8 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.1736, allocations: 0.5338 MB / 275.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.1742, allocations: 432.6 kB / 275.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1743, allocations: 44.19 kB / 275.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1744, allocations: 41.97 kB / 275.8 MB, free: 22.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/0.1744, allocations: 0 / 275.8 MB, free: 22.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003589/0.178, allocations: 2.191 MB / 278 MB, free: 21.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.178, allocations: 62.75 kB / 278.1 MB, free: 21.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.1786, allocations: 0.8771 MB / 279 MB, free: 21.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.1787, allocations: 47.3 kB / 279 MB, free: 21.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.179, allocations: 0.767 MB / 279.8 MB, free: 21.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1791, allocations: 366.9 kB / 280.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.1793, allocations: 202.8 kB / 280.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.1794, allocations: 354.1 kB / 280.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.1795, allocations: 144.5 kB / 280.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.1798, allocations: 432.8 kB / 281.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.1804, allocations: 0.6947 MB / 281.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1804, allocations: 2.75 kB / 281.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001233/0.1816, allocations: 0.9336 MB / 282.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1816, allocations: 8.844 kB / 282.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1816, allocations: 9.406 kB / 282.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.1826, allocations: 494.5 kB / 283.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.183, allocations: 252.9 kB / 283.6 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.1858, allocations: 4.17 MB / 287.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.1861, allocations: 42.89 kB / 287.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.1862, allocations: 39.58 kB / 287.9 MB, free: 17.36 MB / 266.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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.1864, allocations: 183.7 kB / 288.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1866, allocations: 114 kB / 288.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.1875, allocations: 0.746 MB / 288.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1875, allocations: 11.45 kB / 288.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1875, allocations: 4.125 kB / 288.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1875, allocations: 3.469 kB / 288.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1893, allocations: 1.841 MB / 290.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1893, allocations: 0 / 290.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.1897, allocations: 191.6 kB / 291 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.1899, allocations: 175 kB / 291.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.1904, allocations: 303.5 kB / 291.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.1905, allocations: 27.61 kB / 291.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.1921, allocations: 4.376 MB / 295.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1921, allocations: 3.875 kB / 295.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.1931, allocations: 1.068 MB / 296.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.1932, allocations: 24.75 kB / 296.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.1934, allocations: 37.77 kB / 297 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1935, allocations: 77.22 kB / 297 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.1936, allocations: 28.02 kB / 297.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.1939, allocations: 441 kB / 297.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 297.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006725/0.1945, allocations: 420.7 kB / 297.9 MB, free: 12.41 MB / 266.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.1948, allocations: 172.3 kB / 298.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009299/0.1957, allocations: 0.9945 MB / 299.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.074e-05/0.1957, allocations: 31.12 kB / 299.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.1963, allocations: 0.7393 MB / 299.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.197, allocations: 446.4 kB / 300.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.2088, allocations: 3.304 MB / 303.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.209, allocations: 471.7 kB / 304 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.2094, allocations: 159.2 kB / 304.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.2099, allocations: 335.1 kB / 304.5 MB, free: 6.121 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2099, allocations: 0 / 304.5 MB, free: 6.121 MB / 266.7 MB Notification: Performance of Templates: time 0.0268/0.2367, allocations: 24.36 MB / 328.9 MB, free: 14.15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2118829423561692]