Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 47.92 kB / 370.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2567, allocations: 52.18 MB / 422.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0295/0.2862, allocations: 24.93 MB / 447.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.3079, allocations: 7.391 MB / 455 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007026/0.3149, allocations: 222.9 kB / 455.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02287/0.3378, allocations: 8.914 MB / 464.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.351, allocations: 3.046 MB / 467.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.3574, allocations: 1.746 MB / 468.9 MB, free: 232 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0197/0.3771, allocations: 10.86 MB / 479.8 MB, free: 5.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0305/0.4076, allocations: 14.34 MB / 494.1 MB, free: 6.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.42, allocations: 5.872 MB / 500 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01412/0.4342, allocations: 6.327 MB / 0.4944 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006473/0.4406, allocations: 1.672 MB / 0.4961 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008876/0.4495, allocations: 2.043 MB / 0.4981 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007094/0.4566, allocations: 3.16 MB / 0.5011 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01512/0.4717, allocations: 6.09 MB / 0.5071 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03427/0.506, allocations: 22.38 MB / 0.529 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.506, allocations: 0 / 0.529 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.506, allocations: 0 / 0.529 GB, free: 7.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007061/0.5067, allocations: 0 / 0.529 GB, free: 7.168 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.5278/1.034, allocations: 12.86 MB / 0.5415 GB, free: 92.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.035, allocations: 9.844 kB / 0.5415 GB, free: 92.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004781/1.039, allocations: 1.548 MB / 0.543 GB, free: 91.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03157/1.071, allocations: 6.253 MB / 0.5491 GB, free: 89.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/1.084, allocations: 6.99 MB / 0.556 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006878/1.085, allocations: 0.702 MB / 0.5567 GB, free: 83.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00392/1.089, allocations: 0.9213 MB / 0.5575 GB, free: 83.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03341/1.122, allocations: 15.75 MB / 0.5729 GB, free: 67.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003723/1.123, allocations: 11.89 kB / 0.5729 GB, free: 67.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002435/1.125, allocations: 390.9 kB / 0.5733 GB, free: 66.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004649/1.126, allocations: 0.5547 MB / 0.5739 GB, free: 66.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/1.155, allocations: 14.77 MB / 0.5883 GB, free: 51.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07501/1.23, allocations: 49.82 MB / 0.6369 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.247, allocations: 9.292 MB / 0.646 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/1.253, allocations: 2.922 MB / 0.6489 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/1.253, allocations: 94.92 kB / 0.649 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.532e-05/1.253, allocations: 73.69 kB / 0.649 GB, free: 6.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.78e-06/1.253, allocations: 0 / 0.649 GB, free: 6.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.0444/1.298, allocations: 17.23 MB / 0.6658 GB, free: 4.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/1.298, allocations: 94.58 kB / 0.6659 GB, free: 4.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008595/1.306, allocations: 3.692 MB / 0.6695 GB, free: 1.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008208/1.307, allocations: 89.7 kB / 0.6696 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003729/1.311, allocations: 4.127 MB / 0.6737 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.313, allocations: 1.449 MB / 0.6751 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/1.315, allocations: 1.144 MB / 0.6762 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/1.315, allocations: 312.8 kB / 0.6765 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/1.32, allocations: 2.791 MB / 0.6792 GB, free: 7.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006872/1.327, allocations: 4.953 MB / 0.6841 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.34, allocations: 8.31 MB / 0.6922 GB, free: 7.82 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/1.34, allocations: 24 kB / 0.6922 GB, free: 7.797 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02078/1.361, allocations: 9.078 MB / 0.7011 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/1.361, allocations: 32 kB / 0.7011 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.361, allocations: 72 kB / 0.7012 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/1.365, allocations: 1.221 MB / 0.7023 GB, free: 13.37 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/1.37, allocations: 1.322 MB / 0.7036 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/1.387, allocations: 9.814 MB / 0.7132 GB, free: 2.105 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/1.392, allocations: 331.6 kB / 0.7135 GB, free: 1.781 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.393, allocations: 288 kB / 0.7138 GB, free: 1.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009311/1.403, allocations: 3.701 MB / 0.7174 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.404, allocations: 421.2 kB / 0.7178 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.419, allocations: 6.662 MB / 0.7243 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0109/1.43, allocations: 5.564 MB / 0.7298 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.43, allocations: 11.94 kB / 0.7298 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-05/1.43, allocations: 23.92 kB / 0.7298 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03415/1.465, allocations: 15.75 MB / 0.7452 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/1.465, allocations: 4 kB / 0.7452 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.467, allocations: 0.73 MB / 0.7459 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2842/1.752, allocations: 1.109 MB / 0.747 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008106/1.753, allocations: 90.03 kB / 0.7471 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.764, allocations: 8.748 MB / 0.7556 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.764, allocations: 5.188 kB / 0.7556 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/1.777, allocations: 9.83 MB / 0.7652 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.78, allocations: 0.9335 MB / 0.7661 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/1.78, allocations: 79.12 kB / 0.7662 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.782, allocations: 198.3 kB / 0.7664 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006189/1.783, allocations: 305.5 kB / 0.7667 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.783, allocations: 117.8 kB / 0.7668 GB, free: 176.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003591/1.787, allocations: 2.491 MB / 0.7692 GB, free: 175.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/1.787, allocations: 3.938 kB / 0.7692 GB, free: 175.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006373/1.793, allocations: 1.612 MB / 0.7708 GB, free: 175.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/1.807, allocations: 10.56 MB / 0.7811 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.818, allocations: 6.874 MB / 0.7878 GB, free: 165.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.818, allocations: 0 / 0.7878 GB, free: 165.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00544/1.823, allocations: 3.166 MB / 0.7909 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006631/1.83, allocations: 0.9771 MB / 0.7919 GB, free: 161.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08255/1.913, allocations: 54.45 MB / 0.8451 GB, free: 105.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005122/1.918, allocations: 6.19 MB / 0.8511 GB, free: 99.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004171/1.922, allocations: 1.912 MB / 0.853 GB, free: 97.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003856/1.926, allocations: 3.305 MB / 0.8562 GB, free: 94.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/1.926, allocations: 4 kB / 0.8562 GB, free: 94.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5016/2.427, allocations: 133.5 MB / 0.9866 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.3/23.73, allocations: 12.36 kB / 0.9866 GB, free: 180.4 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 26.811151314061135]