Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 47.92 kB / 377.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2927, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02966/0.3224, allocations: 23.21 MB / 454.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3414, allocations: 7.841 MB / 462.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005237/0.3467, allocations: 234.8 kB / 462.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02162/0.3683, allocations: 8.761 MB / 471.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.3808, allocations: 3.408 MB / 474.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005749/0.3866, allocations: 1.818 MB / 476.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01865/0.4052, allocations: 12.36 MB / 488.8 MB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02933/0.4346, allocations: 16.04 MB / 0.493 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.4453, allocations: 6.64 MB / 0.4995 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.4582, allocations: 7.281 MB / 0.5066 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005045/0.4632, allocations: 1.832 MB / 0.5084 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.4696, allocations: 2.226 MB / 0.5105 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004597/0.4742, allocations: 3.608 MB / 0.5141 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009505/0.4837, allocations: 5.355 MB / 0.5193 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4713/0.955, allocations: 24.89 MB / 0.5436 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.955, allocations: 0 / 0.5436 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.955, allocations: 3.75 kB / 0.5436 GB, free: 42.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007055/0.9557, allocations: 0 / 0.5436 GB, free: 42.44 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0478/1.004, allocations: 14.66 MB / 0.5579 GB, free: 38.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.004, allocations: 14.31 kB / 0.5579 GB, free: 38.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006224/1.01, allocations: 1.782 MB / 0.5597 GB, free: 38.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04507/1.055, allocations: 8.438 MB / 0.5679 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.073, allocations: 7.814 MB / 0.5755 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/1.073, allocations: 0.8053 MB / 0.5763 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004609/1.078, allocations: 1.058 MB / 0.5774 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/1.119, allocations: 18.55 MB / 0.5955 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/1.119, allocations: 22.38 kB / 0.5955 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005414/1.125, allocations: 446.7 kB / 0.5959 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000538/1.125, allocations: 0.6711 MB / 0.5966 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/1.161, allocations: 17.48 MB / 0.6136 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.268, allocations: 52.13 MB / 0.6645 GB, free: 6.66 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/1.292, allocations: 12.66 MB / 0.6769 GB, free: 12.08 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006044/1.298, allocations: 3.734 MB / 0.6806 GB, free: 8.332 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/1.298, allocations: 128 kB / 0.6807 GB, free: 8.203 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.297e-05/1.298, allocations: 86.47 kB / 0.6808 GB, free: 8.109 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.975e-06/1.298, allocations: 4 kB / 0.6808 GB, free: 8.105 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04826/1.346, allocations: 21.26 MB / 0.7015 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/1.346, allocations: 111.5 kB / 0.7016 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006445/1.353, allocations: 4.259 MB / 0.7058 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007098/1.354, allocations: 105.7 kB / 0.7059 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/1.357, allocations: 4.679 MB / 0.7105 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.359, allocations: 1.866 MB / 0.7123 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/1.361, allocations: 1.363 MB / 0.7136 GB, free: 6.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.361, allocations: 305.1 kB / 0.7139 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.367, allocations: 3.434 MB / 0.7173 GB, free: 2.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007607/1.374, allocations: 5.9 MB / 0.723 GB, free: 11.59 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.389, allocations: 10.02 MB / 0.7328 GB, free: 0.7227 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.896e-05/1.389, allocations: 22.52 kB / 0.7328 GB, free: 0.7031 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02011/1.409, allocations: 10.9 MB / 0.7435 GB, free: 6.215 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/1.409, allocations: 36 kB / 0.7435 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/1.409, allocations: 80 kB / 0.7436 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/1.413, allocations: 1.37 MB / 0.7449 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/1.419, allocations: 1.623 MB / 0.7465 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2635/1.683, allocations: 10.98 MB / 0.7572 GB, free: 204 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/1.688, allocations: 401.1 kB / 0.7576 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/1.688, allocations: 338.4 kB / 0.7579 GB, free: 203.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006453/1.695, allocations: 4.161 MB / 0.762 GB, free: 201.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.696, allocations: 498.5 kB / 0.7625 GB, free: 201.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.709, allocations: 8.402 MB / 0.7707 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009506/1.718, allocations: 7.029 MB / 0.7775 GB, free: 195.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/1.718, allocations: 11.66 kB / 0.7776 GB, free: 195.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/1.718, allocations: 26.53 kB / 0.7776 GB, free: 195.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.747, allocations: 17.84 MB / 0.795 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.747, allocations: 7.812 kB / 0.795 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/1.751, allocations: 0.938 MB / 0.7959 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/1.753, allocations: 1.226 MB / 0.7971 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.754, allocations: 119.5 kB / 0.7972 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.766, allocations: 9.701 MB / 0.8067 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.766, allocations: 5.906 kB / 0.8067 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/1.782, allocations: 12.24 MB / 0.8187 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/1.786, allocations: 1.119 MB / 0.8198 GB, free: 161.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.787, allocations: 92 kB / 0.8198 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.79, allocations: 267.8 kB / 0.8201 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/1.79, allocations: 380.2 kB / 0.8205 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.791, allocations: 156 kB / 0.8206 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003259/1.794, allocations: 2.764 MB / 0.8233 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/1.794, allocations: 0 / 0.8233 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006457/1.8, allocations: 1.928 MB / 0.8252 GB, free: 155.7 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01584/1.816, allocations: 12.98 MB / 0.8379 GB, free: 142.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.828, allocations: 8.374 MB / 0.8461 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.828, allocations: 0 / 0.8461 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00575/1.833, allocations: 3.889 MB / 0.8498 GB, free: 130.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.838, allocations: 1.137 MB / 0.851 GB, free: 129 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09107/1.93, allocations: 63.56 MB / 0.913 GB, free: 62.56 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00868/1.938, allocations: 6.59 MB / 0.9195 GB, free: 55.91 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005668/1.944, allocations: 2.309 MB / 0.9217 GB, free: 53.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006062/1.95, allocations: 3.893 MB / 0.9255 GB, free: 49.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.533e-06/1.95, allocations: 4 kB / 0.9255 GB, free: 49.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4141/2.364, allocations: 156.4 MB / 1.078 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/20.52, allocations: 4 kB / 1.078 GB, free: 132.4 MB / 0.5763 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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: 23.68848695998895]