Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001744/0.001744, allocations: 110 kB / 20.43 MB, free: 1.453 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.00215/0.00215, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 59.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2818, allocations: 53.42 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02558/0.3074, allocations: 20.31 MB / 451.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.3238, allocations: 5.966 MB / 457.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004974/0.3288, allocations: 159 kB / 457.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005384/0.3341, allocations: 1.374 MB / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.3417, allocations: 1.965 MB / 461 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.3461, allocations: 1.246 MB / 462.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.3573, allocations: 6.444 MB / 468.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007492/0.3648, allocations: 2.962 MB / 471.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/0.3714, allocations: 3.053 MB / 474.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007369/0.3788, allocations: 3.678 MB / 478.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.3815, allocations: 0.8008 MB / 479.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.3854, allocations: 1.105 MB / 480.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00351/0.3889, allocations: 2.006 MB / 482.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007739/0.3966, allocations: 3.439 MB / 485.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.4139, allocations: 10.71 MB / 496.4 MB, free: 5.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.4139, allocations: 4 kB / 496.4 MB, free: 5.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4139, allocations: 3.938 kB / 496.4 MB, free: 5.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004142/0.4143, allocations: 0 / 496.4 MB, free: 5.168 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02319/0.4375, allocations: 6.826 MB / 0.4915 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4375, allocations: 8.031 kB / 0.4915 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002825/0.4404, allocations: 0.7039 MB / 0.4922 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/0.4471, allocations: 1.118 MB / 0.4933 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009564/0.4567, allocations: 3.683 MB / 0.4968 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.4571, allocations: 390.4 kB / 0.4972 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.4589, allocations: 0.5038 MB / 0.4977 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4757, allocations: 6.957 MB / 0.5045 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.4759, allocations: 15.89 kB / 0.5045 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00064/0.4765, allocations: 208 kB / 0.5047 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/0.4768, allocations: 242.2 kB / 0.505 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.491, allocations: 5.931 MB / 0.5107 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04843/0.5394, allocations: 20.85 MB / 0.5311 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007963/0.5473, allocations: 3.911 MB / 0.5349 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2327/0.78, allocations: 2.185 MB / 0.5371 GB, free: 95.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.7917, allocations: 5.838 MB / 0.5428 GB, free: 93.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.7917, allocations: 55.75 kB / 0.5428 GB, free: 93.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.328e-06/0.7917, allocations: 0 / 0.5428 GB, free: 93.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.02067/0.8124, allocations: 10.62 MB / 0.5532 GB, free: 89.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8124, allocations: 75.81 kB / 0.5532 GB, free: 89.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.8162, allocations: 3.022 MB / 0.5562 GB, free: 88.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000359/0.8165, allocations: 68.45 kB / 0.5563 GB, free: 88.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.8178, allocations: 2.38 MB / 0.5586 GB, free: 86.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/0.8185, allocations: 0.8508 MB / 0.5594 GB, free: 86.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006767/0.8191, allocations: 0.5103 MB / 0.5599 GB, free: 85.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.8192, allocations: 313.1 kB / 0.5602 GB, free: 85.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8209, allocations: 1.354 MB / 0.5615 GB, free: 84.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.8228, allocations: 2.131 MB / 0.5636 GB, free: 81.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.8267, allocations: 3.693 MB / 0.5672 GB, free: 77.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.8268, allocations: 8 kB / 0.5672 GB, free: 77.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.0071/0.8339, allocations: 4.593 MB / 0.5717 GB, free: 73.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.8339, allocations: 16.72 kB / 0.5717 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.8339, allocations: 25.88 kB / 0.5718 GB, free: 73.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8355, allocations: 0.7578 MB / 0.5725 GB, free: 72.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.8376, allocations: 0.6279 MB / 0.5731 GB, free: 71.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009751/0.8473, allocations: 13.81 MB / 0.5866 GB, free: 57.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.8505, allocations: 151.8 kB / 0.5867 GB, free: 56.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.8509, allocations: 124 kB / 0.5869 GB, free: 56.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003259/0.8541, allocations: 1.61 MB / 0.5884 GB, free: 55.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007906/0.8549, allocations: 345.8 kB / 0.5888 GB, free: 54.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005933/0.8608, allocations: 4.029 MB / 0.5927 GB, free: 50.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.8609, allocations: 24 kB / 0.5927 GB, free: 50.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.8609, allocations: 11.94 kB / 0.5927 GB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.8609, allocations: 11.95 kB / 0.5927 GB, free: 50.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.8744, allocations: 8.942 MB / 0.6015 GB, free: 41.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.8744, allocations: 4 kB / 0.6015 GB, free: 41.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.8759, allocations: 379.4 kB / 0.6018 GB, free: 41.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.8779, allocations: 0.936 MB / 0.6028 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.8781, allocations: 63.97 kB / 0.6028 GB, free: 40.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.8902, allocations: 17.17 MB / 0.6196 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8902, allocations: 4 kB / 0.6196 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008254/0.8985, allocations: 5.892 MB / 0.6253 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/0.9007, allocations: 0.6499 MB / 0.626 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/0.9012, allocations: 55.98 kB / 0.626 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.9027, allocations: 131.9 kB / 0.6262 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/0.9031, allocations: 201.5 kB / 0.6264 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.9033, allocations: 71.97 kB / 0.6264 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002494/0.9058, allocations: 2.062 MB / 0.6284 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9058, allocations: 0 / 0.6284 GB, free: 13.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003828/0.9096, allocations: 0.9804 MB / 0.6294 GB, free: 12.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.008682/0.9183, allocations: 6.623 MB / 0.6359 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006127/0.9244, allocations: 4.222 MB / 0.64 GB, free: 1.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9244, allocations: 0.875 kB / 0.64 GB, free: 1.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004377/0.9288, allocations: 2.886 MB / 0.6428 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/0.9327, allocations: 0.9175 MB / 0.6437 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06435/0.9971, allocations: 35.14 MB / 0.678 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004074/1.001, allocations: 3.432 MB / 0.6814 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002593/1.004, allocations: 0.7738 MB / 0.6821 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/1.007, allocations: 1.972 MB / 0.684 GB, free: 2.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/1.007, allocations: 0 / 0.684 GB, free: 2.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4253/1.432, allocations: 90.2 MB / 0.7721 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/20.11, allocations: 2.844 kB / 0.7721 GB, free: 157.5 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 27.65695992205292]