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.001813/0.001813, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002238/0.002238, allocations: 215.3 kB / 23 MB, free: 5.609 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.58/1.58, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.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 0.001798/0.001798, allocations: 67.88 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2376, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01642/0.254, allocations: 13.63 MB / 443.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009289/0.2633, allocations: 4.549 MB / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.2656, allocations: 83.69 kB / 448.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.2691, allocations: 1.041 MB / 449.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.2739, allocations: 1.317 MB / 450.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.2763, allocations: 0.9026 MB / 451.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.2814, allocations: 4.063 MB / 455.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.2838, allocations: 1.784 MB / 457.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.2866, allocations: 1.916 MB / 459.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003338/0.2899, allocations: 2.269 MB / 461.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007663/0.2907, allocations: 0.5117 MB / 461.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2922, allocations: 0.7341 MB / 462.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.2933, allocations: 1.145 MB / 463.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.2961, allocations: 2.136 MB / 465.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008283/0.3044, allocations: 6.809 MB / 472.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3044, allocations: 0 / 472.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3044, allocations: 0 / 472.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000145/0.3046, allocations: 0 / 472.7 MB, free: 12.43 MB / 382.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.01193/0.3165, allocations: 4.53 MB / 477.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3166, allocations: 12.03 kB / 477.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.3211, allocations: 0.8494 MB / 478.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/0.3257, allocations: 2.512 MB / 480.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3259, allocations: 238.6 kB / 480.8 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.3264, allocations: 311.9 kB / 481.1 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/0.334, allocations: 4.269 MB / 485.4 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.3341, allocations: 7.953 kB / 485.4 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.3344, allocations: 127.9 kB / 485.5 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3345, allocations: 146.2 kB / 485.7 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006332/0.3409, allocations: 3.667 MB / 489.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.3626, allocations: 13.45 MB / 0.491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.37, allocations: 6.756 MB / 0.4976 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.3725, allocations: 1.313 MB / 0.4989 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/0.3796, allocations: 3.893 MB / 0.5027 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3796, allocations: 43.56 kB / 0.5027 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.368e-06/0.3796, allocations: 0 / 0.5027 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01447/0.3941, allocations: 6.697 MB / 0.5093 GB, free: 9.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.3942, allocations: 68.72 kB / 0.5093 GB, free: 9.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.3972, allocations: 1.884 MB / 0.5112 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3973, allocations: 53.7 kB / 0.5112 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.3986, allocations: 1.478 MB / 0.5127 GB, free: 6.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.3992, allocations: 0.519 MB / 0.5132 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.3998, allocations: 299.5 kB / 0.5135 GB, free: 5.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3999, allocations: 309.1 kB / 0.5138 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.4013, allocations: 0.7574 MB / 0.5145 GB, free: 4.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.403, allocations: 1.224 MB / 0.5157 GB, free: 3.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/0.4061, allocations: 2.111 MB / 0.5178 GB, free: 0.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4061, allocations: 4 kB / 0.5178 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005305/0.4114, allocations: 2.66 MB / 0.5204 GB, free: 14.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.4115, allocations: 16.28 kB / 0.5204 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.4115, allocations: 15.94 kB / 0.5204 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.413, allocations: 0.5011 MB / 0.5209 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.4145, allocations: 387.4 kB / 0.5213 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009279/0.4238, allocations: 6.916 MB / 0.528 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4255, allocations: 79.84 kB / 0.5281 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.4256, allocations: 71.98 kB / 0.5282 GB, free: 5.77 MB / 446.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.001947/0.4276, allocations: 1.056 MB / 0.5292 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.4279, allocations: 206.7 kB / 0.5294 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.4323, allocations: 2.484 MB / 0.5318 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4323, allocations: 23.88 kB / 0.5318 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4323, allocations: 8 kB / 0.5318 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4323, allocations: 7.969 kB / 0.5318 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2109/0.6432, allocations: 5.524 MB / 0.5372 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6433, allocations: 7.188 kB / 0.5372 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.6442, allocations: 225.4 kB / 0.5375 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.6455, allocations: 496.3 kB / 0.5379 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.526e-05/0.6456, allocations: 39.92 kB / 0.538 GB, free: 99.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008085/0.6537, allocations: 11.43 MB / 0.5491 GB, free: 90.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6537, allocations: 7.906 kB / 0.5491 GB, free: 90.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.6582, allocations: 3.567 MB / 0.5526 GB, free: 88.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/0.6588, allocations: 467.5 kB / 0.5531 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.659, allocations: 35.7 kB / 0.5531 GB, free: 88.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.6598, allocations: 65.11 kB / 0.5532 GB, free: 88.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.6601, allocations: 116.1 kB / 0.5533 GB, free: 88.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.6602, allocations: 39.75 kB / 0.5533 GB, free: 88.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.6617, allocations: 1.308 MB / 0.5546 GB, free: 87.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6617, allocations: 3.844 kB / 0.5546 GB, free: 87.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001575/0.6632, allocations: 0.5865 MB / 0.5552 GB, free: 87.72 MB / 446.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.0002623/0.6635, allocations: 168.7 kB / 0.5553 GB, free: 87.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.6665, allocations: 2.322 MB / 0.5576 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6665, allocations: 7.031 kB / 0.5576 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.6684, allocations: 1.659 MB / 0.5592 GB, free: 85.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.6701, allocations: 0.5288 MB / 0.5597 GB, free: 85.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/0.6774, allocations: 6.063 MB / 0.5657 GB, free: 79.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.6787, allocations: 2.385 MB / 0.568 GB, free: 77.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009352/0.6796, allocations: 417 kB / 0.5684 GB, free: 76.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.6799, allocations: 139.4 kB / 0.5685 GB, free: 76.71 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6799, allocations: 0 / 0.5685 GB, free: 76.71 MB / 446.1 MB Notification: Performance of Templates: time 0.04016/0.7201, allocations: 32.82 MB / 0.6006 GB, free: 44.21 MB / 446.1 MB " [Timeout remaining time 659] 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.199385387822986]