Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001688/0.001688, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.00212/0.00212, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.446/1.446, allocations: 177 MB / 204.1 MB, free: 9.176 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.743e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01441/0.01443, allocations: 11.84 MB / 336.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008772/0.0232, allocations: 4.312 MB / 341.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.02444, allocations: 96.19 kB / 341.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.02669, allocations: 0.9905 MB / 342.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.02971, allocations: 1.351 MB / 343.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.03154, allocations: 0.8647 MB / 344.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00462/0.03616, allocations: 4.285 MB / 348.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.03854, allocations: 1.718 MB / 350.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.04214, allocations: 2.842 MB / 353.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.04474, allocations: 1.82 MB / 355.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006527/0.04539, allocations: 0.5078 MB / 355.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.04665, allocations: 0.7183 MB / 356.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.04773, allocations: 1.169 MB / 357.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.04944, allocations: 1.446 MB / 359 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.05642, allocations: 6.868 MB / 365.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.05643, allocations: 0 / 365.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.05643, allocations: 0 / 365.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.316e-05/0.05649, allocations: 0 / 365.9 MB, free: 12.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0105/0.06699, allocations: 4.408 MB / 370.3 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.06704, allocations: 15.98 kB / 370.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.07193, allocations: 0.8417 MB / 371.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.07684, allocations: 2.431 MB / 373.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.07704, allocations: 234.6 kB / 373.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.07758, allocations: 316.3 kB / 374.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007724/0.08531, allocations: 4.416 MB / 378.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.18e-05/0.08538, allocations: 11.94 kB / 378.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.08571, allocations: 128 kB / 378.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.08588, allocations: 142.2 kB / 378.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006522/0.0924, allocations: 3.655 MB / 382.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.1117, allocations: 11.47 MB / 393.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/0.1171, allocations: 2.596 MB / 396.5 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.1195, allocations: 1.305 MB / 397.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.1255, allocations: 3.038 MB / 400.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1256, allocations: 47.56 kB / 400.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=124): time 3.196e-06/0.1256, allocations: 0 / 400.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.01428/0.1398, allocations: 6.068 MB / 407 MB, free: 2.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1399, allocations: 68.72 kB / 407 MB, free: 2.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.1424, allocations: 1.695 MB / 408.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.1426, allocations: 49.7 kB / 408.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.1437, allocations: 1.489 MB / 410.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.1442, allocations: 0.5112 MB / 410.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005138/0.1447, allocations: 299.5 kB / 411.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1448, allocations: 309.1 kB / 411.4 MB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.1462, allocations: 0.7535 MB / 412.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.1479, allocations: 1.253 MB / 413.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/0.1512, allocations: 2.115 MB / 415.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.1512, allocations: 4 kB / 415.5 MB, free: 9.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004979/0.1562, allocations: 2.641 MB / 418.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1562, allocations: 8 kB / 418.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.1562, allocations: 16 kB / 418.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.1577, allocations: 0.5016 MB / 418.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.1593, allocations: 391.4 kB / 419.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009248/0.1685, allocations: 6.557 MB / 425.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.1698, allocations: 83.84 kB / 425.7 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.17, allocations: 72 kB / 425.8 MB, free: 15 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * 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%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001891/0.1719, allocations: 1.052 MB / 426.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.1722, allocations: 186.9 kB / 427 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/0.1768, allocations: 2.325 MB / 429.3 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.1768, allocations: 12 kB / 429.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.1768, allocations: 8 kB / 429.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.1768, allocations: 3.984 kB / 429.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008463/0.1853, allocations: 4.62 MB / 434 MB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.1853, allocations: 7.984 kB / 434 MB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.1864, allocations: 223.6 kB / 434.2 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.1878, allocations: 0.4956 MB / 434.7 MB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.1879, allocations: 31.98 kB / 434.7 MB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.2001, allocations: 10.67 MB / 445.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.2001, allocations: 7.938 kB / 445.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/0.2066, allocations: 3.381 MB / 448.8 MB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.2077, allocations: 378.6 kB / 449.1 MB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/0.2082, allocations: 28 kB / 449.2 MB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.2093, allocations: 67.95 kB / 449.2 MB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.2097, allocations: 125 kB / 449.4 MB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.2098, allocations: 39.98 kB / 449.4 MB, free: 6.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.2121, allocations: 1.145 MB / 450.5 MB, free: 5.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2121, allocations: 4 kB / 450.5 MB, free: 5.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002437/0.2146, allocations: 0.5898 MB / 451.1 MB, free: 4.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004111/0.215, allocations: 169.7 kB / 451.3 MB, free: 4.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004566/0.2195, allocations: 2.309 MB / 453.6 MB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2196, allocations: 0 / 453.6 MB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.2224, allocations: 1.68 MB / 455.3 MB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.2251, allocations: 428.2 kB / 455.7 MB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.2363, allocations: 5.845 MB / 461.6 MB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.2386, allocations: 1.831 MB / 463.4 MB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.2401, allocations: 395.5 kB / 463.8 MB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.2405, allocations: 124.5 kB / 463.9 MB, free: 7.996 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2405, allocations: 3.938 kB / 463.9 MB, free: 7.992 MB / 430.1 MB Notification: Performance of Templates: time 0.2081/0.4486, allocations: 28.87 MB / 492.8 MB, free: 117.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 6.038873214274645]