Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.0008861/0.0008861, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008055/0.0008055, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9373/0.9373, allocations: 177 MB / 204.1 MB, free: 5.746 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.889e-05, allocations: 6.219 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02555/0.02557, allocations: 33.44 MB / 358 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.04715, allocations: 10.04 MB / 368.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007864/0.05502, allocations: 358.1 kB / 368.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.06922, allocations: 10.08 MB / 378.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.07995, allocations: 4.228 MB / 382.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.08425, allocations: 2.433 MB / 385.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01668/0.1009, allocations: 17.24 MB / 402.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02783/0.1288, allocations: 20.37 MB / 422.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01744/0.1462, allocations: 12.77 MB / 435.5 MB, free: 364 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.1577, allocations: 8.147 MB / 443.7 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004906/0.1626, allocations: 2.414 MB / 446.1 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006283/0.1689, allocations: 2.827 MB / 448.9 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3515/0.5204, allocations: 4.91 MB / 453.8 MB, free: 45.2 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01276/0.5332, allocations: 6.184 MB / 460 MB, free: 45.2 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02715/0.5603, allocations: 32.63 MB / 492.7 MB, free: 36.15 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5603, allocations: 0 / 492.7 MB, free: 36.15 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5603, allocations: 4.781 kB / 492.7 MB, free: 36.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008803/0.5612, allocations: 0 / 492.7 MB, free: 36.15 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04246/0.6037, allocations: 18.83 MB / 0.4995 GB, free: 24.34 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.6037, allocations: 11.77 kB / 0.4995 GB, free: 24.34 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006517/0.6102, allocations: 2.294 MB / 0.5018 GB, free: 22.88 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/0.6332, allocations: 8.286 MB / 0.5098 GB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/0.6504, allocations: 10.34 MB / 0.5199 GB, free: 7.543 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000702/0.6511, allocations: 1.062 MB / 0.521 GB, free: 6.492 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006045/0.6572, allocations: 1.396 MB / 0.5223 GB, free: 5.109 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0497/0.7069, allocations: 23.1 MB / 0.5449 GB, free: 13.88 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004278/0.7073, allocations: 15.91 kB / 0.5449 GB, free: 13.86 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/0.711, allocations: 0.5851 MB / 0.5455 GB, free: 13.3 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000595/0.7116, allocations: 0.7754 MB / 0.5463 GB, free: 12.52 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03885/0.7504, allocations: 20.98 MB / 0.5667 GB, free: 7.527 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3189/1.069, allocations: 65.16 MB / 0.6304 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/1.084, allocations: 13.86 MB / 0.6439 GB, free: 140.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004644/1.089, allocations: 4.736 MB / 0.6485 GB, free: 140.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/1.104, allocations: 11.49 MB / 0.6598 GB, free: 140.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.104, allocations: 88.73 kB / 0.6598 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=498): time 6.473e-06/1.104, allocations: 0 / 0.6598 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=506): time 0.0373/1.141, allocations: 25.86 MB / 0.6851 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.141, allocations: 129.3 kB / 0.6852 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00677/1.148, allocations: 5.957 MB / 0.691 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/1.148, allocations: 113.7 kB / 0.6911 GB, free: 123.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.15, allocations: 6.344 MB / 0.6973 GB, free: 117 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/1.151, allocations: 1.797 MB / 0.6991 GB, free: 115.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/1.152, allocations: 1.474 MB / 0.7005 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.042e-05/1.153, allocations: 302.2 kB / 0.7008 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.156, allocations: 3.634 MB / 0.7044 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/1.16, allocations: 6.536 MB / 0.7108 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00795/1.168, allocations: 10.79 MB / 0.7213 GB, free: 89.83 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-05/1.168, allocations: 24 kB / 0.7213 GB, free: 89.81 MB / 0.4949 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01235/1.18, allocations: 12.03 MB / 0.7331 GB, free: 77.74 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/1.18, allocations: 44 kB / 0.7331 GB, free: 77.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/1.18, allocations: 95.98 kB / 0.7332 GB, free: 77.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/1.183, allocations: 1.582 MB / 0.7347 GB, free: 76 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/1.186, allocations: 1.673 MB / 0.7364 GB, free: 74.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.199, allocations: 18.85 MB / 0.7548 GB, free: 54.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/1.204, allocations: 423.6 kB / 0.7552 GB, free: 54.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/1.204, allocations: 368 kB / 0.7555 GB, free: 54.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,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.007641/1.212, allocations: 5.205 MB / 0.7606 GB, free: 48.94 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.213, allocations: 0.6249 MB / 0.7612 GB, free: 48.31 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00941/1.222, allocations: 9.158 MB / 0.7702 GB, free: 39.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005537/1.228, allocations: 5.86 MB / 0.7759 GB, free: 33.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-05/1.228, allocations: 20 kB / 0.7759 GB, free: 33.18 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/1.228, allocations: 23.91 kB / 0.7759 GB, free: 33.16 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.252, allocations: 19.97 MB / 0.7954 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.252, allocations: 4 kB / 0.7955 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.254, allocations: 0.8784 MB / 0.7963 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.256, allocations: 1.623 MB / 0.7979 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/1.256, allocations: 132 kB / 0.798 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2378/1.494, allocations: 22.17 MB / 0.8197 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.494, allocations: 11.88 kB / 0.8197 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.51, allocations: 13.56 MB / 0.8329 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.513, allocations: 1.347 MB / 0.8342 GB, free: 137 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000565/1.513, allocations: 114.9 kB / 0.8344 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.515, allocations: 276.8 kB / 0.8346 GB, free: 136.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/1.516, allocations: 438.5 kB / 0.835 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.516, allocations: 163.8 kB / 0.8352 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004241/1.52, allocations: 3.905 MB / 0.839 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.5e-07/1.52, allocations: 0 / 0.839 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00578/1.526, allocations: 2.342 MB / 0.8413 GB, free: 135.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/1.538, allocations: 14.33 MB / 0.8553 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009581/1.548, allocations: 9.446 MB / 0.8645 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.548, allocations: 7.938 kB / 0.8645 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004545/1.552, allocations: 5.14 MB / 0.8695 GB, free: 117.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.557, allocations: 1.645 MB / 0.8711 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09508/1.652, allocations: 80.18 MB / 0.9494 GB, free: 36.41 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006733/1.659, allocations: 8.495 MB / 0.9577 GB, free: 27.86 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006079/1.665, allocations: 2.55 MB / 0.9602 GB, free: 25.31 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003797/1.669, allocations: 5.202 MB / 0.9653 GB, free: 20.11 MB / 0.4949 GB Notification: Performance of SimCode: time 1.383e-06/1.669, allocations: 0 / 0.9653 GB, free: 20.11 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/2.034, allocations: 194.6 MB / 1.155 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/16.35, allocations: 5.078 kB / 1.155 GB, free: 45.04 MB / 0.5105 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 23.625469692982733]