Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.0008513/0.0008513, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008407/0.0008407, 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.9385/0.9385, allocations: 177 MB / 204.1 MB, free: 5.723 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_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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 1.633e-06/1.633e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.927e-05, allocations: 2.281 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01589/0.01591, allocations: 21.4 MB / 345.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.02902, allocations: 7.189 MB / 353.1 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.03286, allocations: 222.9 kB / 353.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00938/0.04224, allocations: 8.66 MB / 362 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007162/0.0494, allocations: 3.025 MB / 365 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.05223, allocations: 1.721 MB / 366.8 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.06223, allocations: 11.28 MB / 378 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02257/0.08481, allocations: 14.22 MB / 392.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.09517, allocations: 8.604 MB / 400.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006758/0.1019, allocations: 5.454 MB / 406.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003196/0.1051, allocations: 1.668 MB / 408 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.1085, allocations: 2.058 MB / 410 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.1103, allocations: 3.219 MB / 413.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005084/0.1154, allocations: 4.078 MB / 417.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.134, allocations: 22.72 MB / 440.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1341, allocations: 0 / 440.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1341, allocations: 0 / 440.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000566/0.1346, allocations: 0 / 440.1 MB, free: 11.91 MB / 410.7 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.3544/0.4891, allocations: 12.78 MB / 452.8 MB, free: 101.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4891, allocations: 13.64 kB / 452.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003746/0.4929, allocations: 1.553 MB / 454.4 MB, free: 101 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.5095, allocations: 6.191 MB / 460.6 MB, free: 99.19 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.5206, allocations: 7.012 MB / 467.6 MB, free: 92.61 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.5208, allocations: 0.702 MB / 468.3 MB, free: 91.91 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.523, allocations: 0.9176 MB / 469.2 MB, free: 91.01 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.5408, allocations: 15.93 MB / 485.2 MB, free: 75.01 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.5409, allocations: 15.91 kB / 485.2 MB, free: 74.99 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006287/0.5416, allocations: 395.1 kB / 485.6 MB, free: 74.62 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003026/0.5419, allocations: 0.5508 MB / 486.1 MB, free: 74.06 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.5569, allocations: 14.75 MB / 0.4891 GB, free: 59.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/0.598, allocations: 45.72 MB / 0.5338 GB, free: 13.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008783/0.6067, allocations: 9.184 MB / 0.5427 GB, free: 5.129 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/0.6091, allocations: 2.924 MB / 0.5456 GB, free: 2.207 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.6093, allocations: 107 kB / 0.5457 GB, free: 2.102 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6094, allocations: 73.69 kB / 0.5458 GB, free: 2.02 MB / 410.8 MB Notification: Performance of pre-optimization done (n=398): time 5.431e-06/0.6094, allocations: 0 / 0.5458 GB, free: 2.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=404): time 0.02444/0.6338, allocations: 17.09 MB / 0.5624 GB, free: 1.035 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.6339, allocations: 94.58 kB / 0.5625 GB, free: 0.9297 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.6382, allocations: 3.812 MB / 0.5663 GB, free: 13.12 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.6383, allocations: 89.7 kB / 0.5663 GB, free: 13.02 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.6402, allocations: 4.106 MB / 0.5704 GB, free: 8.906 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000862/0.6411, allocations: 1.43 MB / 0.5718 GB, free: 7.496 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.6423, allocations: 1.136 MB / 0.5729 GB, free: 6.348 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.6423, allocations: 301.1 kB / 0.5732 GB, free: 6.051 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/0.6452, allocations: 2.799 MB / 0.5759 GB, free: 3.246 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.6491, allocations: 4.985 MB / 0.5808 GB, free: 13.26 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/0.6564, allocations: 8.314 MB / 0.5889 GB, free: 3.949 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/0.6565, allocations: 20 kB / 0.5889 GB, free: 3.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01034/0.6668, allocations: 9.069 MB / 0.5977 GB, free: 10.84 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.6668, allocations: 36.53 kB / 0.5978 GB, free: 10.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.059e-05/0.6669, allocations: 75.94 kB / 0.5979 GB, free: 10.73 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.6689, allocations: 1.188 MB / 0.599 GB, free: 9.539 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.6713, allocations: 1.326 MB / 0.6003 GB, free: 8.211 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.6814, allocations: 9.494 MB / 0.6096 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.684, allocations: 331.5 kB / 0.6099 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/0.6843, allocations: 288 kB / 0.6102 GB, free: 14 MB / 490.8 MB 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.004727/0.6891, allocations: 3.712 MB / 0.6138 GB, free: 10.27 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.6897, allocations: 425.3 kB / 0.6142 GB, free: 9.855 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/0.6971, allocations: 6.615 MB / 0.6207 GB, free: 3.207 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1934/0.8905, allocations: 5.553 MB / 0.6261 GB, free: 161.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.8905, allocations: 10.5 kB / 0.6261 GB, free: 161.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/0.8906, allocations: 19.12 kB / 0.6261 GB, free: 161.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.9058, allocations: 15 MB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.9058, allocations: 5.281 kB / 0.6408 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.9072, allocations: 0.7278 MB / 0.6415 GB, free: 156.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.9087, allocations: 1.079 MB / 0.6425 GB, free: 156.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.9089, allocations: 90.22 kB / 0.6426 GB, free: 156.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/0.9159, allocations: 8.456 MB / 0.6509 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9159, allocations: 12.12 kB / 0.6509 GB, free: 151.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/0.9244, allocations: 9.798 MB / 0.6605 GB, free: 144 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/0.9261, allocations: 0.914 MB / 0.6613 GB, free: 143.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.9264, allocations: 87.55 kB / 0.6614 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.9274, allocations: 198.8 kB / 0.6616 GB, free: 143.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.9278, allocations: 303.6 kB / 0.6619 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.9279, allocations: 127.6 kB / 0.662 GB, free: 142.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002747/0.9307, allocations: 2.481 MB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9307, allocations: 3.828 kB / 0.6645 GB, free: 140.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004106/0.9348, allocations: 1.605 MB / 0.666 GB, free: 139 MB / 490.8 MB 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.008471/0.9432, allocations: 10.54 MB / 0.6763 GB, free: 128.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00635/0.9496, allocations: 6.849 MB / 0.683 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9496, allocations: 0 / 0.683 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.9524, allocations: 3.163 MB / 0.6861 GB, free: 118.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.955, allocations: 0.9801 MB / 0.6871 GB, free: 117.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05913/1.014, allocations: 54.24 MB / 0.74 GB, free: 61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/1.018, allocations: 5.749 MB / 0.7456 GB, free: 55.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002973/1.021, allocations: 1.916 MB / 0.7475 GB, free: 53.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.023, allocations: 3.328 MB / 0.7508 GB, free: 49.95 MB / 490.8 MB Notification: Performance of SimCode: time 1.132e-06/1.023, allocations: 0 / 0.7508 GB, free: 49.95 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/1.328, allocations: 130.4 MB / 0.8781 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/11.33, allocations: 0.6562 kB / 0.8781 GB, free: 123.1 MB / 0.4949 GB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.49198461510241]