Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.0008704/0.0008704, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003681/0.003681, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8843/0.8843, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.91e-07/6.91e-07, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.839e-05, allocations: 6.781 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01156/0.01158, allocations: 15.22 MB / 341 MB, free: 80 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.0217, allocations: 5.684 MB / 346.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003232/0.02493, allocations: 147.1 kB / 346.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.02775, allocations: 1.362 MB / 348.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.03206, allocations: 1.883 MB / 350.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.03395, allocations: 1.075 MB / 351.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006107/0.04006, allocations: 6.666 MB / 357.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/0.04329, allocations: 2.76 MB / 360.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/0.04981, allocations: 4.436 MB / 365 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.05377, allocations: 2.938 MB / 368 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.05534, allocations: 0.7891 MB / 368.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.05747, allocations: 1.081 MB / 369.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.05878, allocations: 1.928 MB / 371.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.06123, allocations: 2.304 MB / 374.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008234/0.06946, allocations: 10.73 MB / 384.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.06947, allocations: 4 kB / 384.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.06947, allocations: 3.938 kB / 384.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.06964, allocations: 3.938 kB / 384.8 MB, free: 4.098 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.009604/0.07924, allocations: 6.576 MB / 391.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.07929, allocations: 11.98 kB / 391.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/0.08196, allocations: 1.09 MB / 392.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.08621, allocations: 3.626 MB / 396.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.08639, allocations: 366.1 kB / 396.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.08687, allocations: 488.3 kB / 397 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/0.09541, allocations: 7.218 MB / 404.2 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/0.09549, allocations: 7.938 kB / 404.2 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.09581, allocations: 200 kB / 404.4 MB, free: 240 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.09598, allocations: 249.9 kB / 404.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007038/0.103, allocations: 5.953 MB / 410.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.1234, allocations: 17.95 MB / 428.5 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.1282, allocations: 4.459 MB / 433 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.1308, allocations: 2.298 MB / 435.3 MB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007756/0.1386, allocations: 5.588 MB / 440.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.1386, allocations: 60.56 kB / 440.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.198e-06/0.1386, allocations: 0 / 440.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.01342/0.152, allocations: 8.965 MB / 449.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1521, allocations: 77.41 kB / 450 MB, free: 2.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2154/0.3675, allocations: 2.631 MB / 452.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005641/0.368, allocations: 63.92 kB / 452.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.3698, allocations: 2.273 MB / 454.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.3703, allocations: 0.782 MB / 455.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.3709, allocations: 465.8 kB / 456.2 MB, free: 109.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.371, allocations: 303.5 kB / 456.5 MB, free: 108.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.3725, allocations: 1.293 MB / 457.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.3739, allocations: 1.94 MB / 459.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.3766, allocations: 3.351 MB / 463 MB, free: 105.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3766, allocations: 3.656 kB / 463.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004107/0.3808, allocations: 4.14 MB / 467.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3808, allocations: 12.06 kB / 467.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3808, allocations: 21.94 kB / 467.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.382, allocations: 0.7631 MB / 468 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3831, allocations: 0.5657 MB / 468.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.3883, allocations: 10.24 MB / 478.8 MB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3895, allocations: 110.6 kB / 478.9 MB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3896, allocations: 100 kB / 479 MB, free: 93.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.3918, allocations: 1.615 MB / 480.6 MB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.3921, allocations: 306.1 kB / 480.9 MB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.3955, allocations: 3.704 MB / 484.6 MB, free: 87.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3955, allocations: 20 kB / 484.6 MB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3955, allocations: 12 kB / 484.6 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3955, allocations: 7.969 kB / 484.7 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.4021, allocations: 7.289 MB / 491.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4021, allocations: 0 / 491.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.4028, allocations: 351.8 kB / 492.3 MB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.4041, allocations: 0.9477 MB / 493.2 MB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.4042, allocations: 63.92 kB / 493.3 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006953/0.4111, allocations: 14.8 MB / 0.4962 GB, free: 63.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4111, allocations: 8.031 kB / 0.4962 GB, free: 63.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.4157, allocations: 5.495 MB / 0.5016 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/0.4166, allocations: 0.6034 MB / 0.5022 GB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.4168, allocations: 47.98 kB / 0.5022 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.4175, allocations: 107.9 kB / 0.5023 GB, free: 57.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.4178, allocations: 197.6 kB / 0.5025 GB, free: 57.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/0.4179, allocations: 63.98 kB / 0.5026 GB, free: 56.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.4195, allocations: 1.785 MB / 0.5043 GB, free: 55.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4195, allocations: 96 / 0.5043 GB, free: 55.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00216/0.4217, allocations: 0.9471 MB / 0.5052 GB, free: 54.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005076/0.4222, allocations: 272.4 kB / 0.5055 GB, free: 53.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003318/0.4255, allocations: 3.705 MB / 0.5091 GB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4255, allocations: 0 / 0.5091 GB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.4274, allocations: 2.548 MB / 0.5116 GB, free: 47.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.429, allocations: 0.7354 MB / 0.5123 GB, free: 46.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.4391, allocations: 9.277 MB / 0.5214 GB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.4411, allocations: 2.836 MB / 0.5241 GB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.4417, allocations: 204.5 kB / 0.5243 GB, free: 34.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.644e-06/0.4417, allocations: 0 / 0.5243 GB, free: 34.5 MB / 410.7 MB Notification: Performance of Templates: time 0.2699/0.7116, allocations: 204.8 MB / 0.7243 GB, free: 70.17 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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: 13.640810710377991]