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.IMS_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.001641/0.001641, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001634/0.001634, allocations: 184.6 kB / 24.49 MB, free: 3.961 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.355/1.355, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.94 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02773/0.265, allocations: 23.16 MB / 446.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.2814, allocations: 7.72 MB / 454.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/0.2864, allocations: 234.8 kB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02337/0.3098, allocations: 8.75 MB / 463.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3205, allocations: 3.4 MB / 466.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005626/0.3261, allocations: 1.793 MB / 468.4 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01702/0.3432, allocations: 12.26 MB / 480.7 MB, free: 4.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03005/0.3732, allocations: 16.02 MB / 496.7 MB, free: 4.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.3846, allocations: 6.632 MB / 0.4916 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/0.397, allocations: 7.262 MB / 0.4987 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006676/0.4037, allocations: 1.84 MB / 0.5005 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006925/0.4106, allocations: 2.199 MB / 0.5026 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005621/0.4162, allocations: 3.628 MB / 0.5061 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.4267, allocations: 5.374 MB / 0.5114 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02971/0.4564, allocations: 24.91 MB / 0.5357 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4564, allocations: 0 / 0.5357 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4564, allocations: 0 / 0.5357 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004922/0.4569, allocations: 0 / 0.5357 GB, free: 0.6836 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.2344/0.6912, allocations: 14.66 MB / 0.55 GB, free: 92.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6913, allocations: 12.03 kB / 0.55 GB, free: 92.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002364/0.6915, allocations: 327.6 kB / 0.5504 GB, free: 92.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004547/0.6961, allocations: 1.79 MB / 0.5521 GB, free: 90.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04227/0.7383, allocations: 8.542 MB / 0.5604 GB, free: 81.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.7535, allocations: 7.746 MB / 0.568 GB, free: 74.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/0.754, allocations: 0.8063 MB / 0.5688 GB, free: 73.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/0.758, allocations: 1.057 MB / 0.5698 GB, free: 72.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03865/0.7967, allocations: 18.53 MB / 0.5879 GB, free: 53.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000376/0.797, allocations: 12.72 kB / 0.5879 GB, free: 53.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003316/0.8004, allocations: 451.2 kB / 0.5884 GB, free: 53.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008096/0.8012, allocations: 0.6711 MB / 0.589 GB, free: 52.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03106/0.8322, allocations: 17.55 MB / 0.6062 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08365/0.9159, allocations: 52.11 MB / 0.657 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/0.9386, allocations: 12.66 MB / 0.6694 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006398/0.945, allocations: 3.747 MB / 0.6731 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.9454, allocations: 104 kB / 0.6732 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.258e-05/0.9455, allocations: 90.64 kB / 0.6733 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=520): time 8.656e-06/0.9455, allocations: 0 / 0.6733 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=599): time 0.08215/1.028, allocations: 34.01 MB / 0.7065 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/1.028, allocations: 112.1 kB / 0.7066 GB, free: 12.76 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007486/1.035, allocations: 4.187 MB / 0.7107 GB, free: 8.547 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.036, allocations: 121.6 kB / 0.7108 GB, free: 8.422 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003956/1.04, allocations: 4.676 MB / 0.7153 GB, free: 3.703 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002656/1.043, allocations: 2.115 MB / 0.7174 GB, free: 1.57 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002632/1.045, allocations: 1.455 MB / 0.7188 GB, free: 112 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.046, allocations: 305.1 kB / 0.7191 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006469/1.052, allocations: 3.927 MB / 0.723 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00887/1.061, allocations: 6.418 MB / 0.7292 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/1.077, allocations: 11.12 MB / 0.7401 GB, free: 8.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.96e-05/1.077, allocations: 20 kB / 0.7401 GB, free: 8.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.2145/1.291, allocations: 13.08 MB / 0.7529 GB, free: 184.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/1.291, allocations: 38.38 kB / 0.7529 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/1.292, allocations: 78.47 kB / 0.753 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/1.298, allocations: 2.901 MB / 0.7558 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/1.304, allocations: 1.612 MB / 0.7574 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02842/1.332, allocations: 23.54 MB / 0.7804 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.337, allocations: 427 kB / 0.7808 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000924/1.338, allocations: 358.2 kB / 0.7811 GB, free: 171.5 MB / 0.545 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 (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00565/1.344, allocations: 4.258 MB / 0.7853 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.345, allocations: 0.5146 MB / 0.7858 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.361, allocations: 10.66 MB / 0.7962 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01381/1.374, allocations: 9.11 MB / 0.8051 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/1.375, allocations: 24 kB / 0.8051 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.912e-05/1.375, allocations: 27.89 kB / 0.8051 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.405, allocations: 22.02 MB / 0.8267 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.405, allocations: 0 / 0.8267 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/1.409, allocations: 0.9556 MB / 0.8276 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006406/1.416, allocations: 2.599 MB / 0.8301 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/1.417, allocations: 128 kB / 0.8302 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02245/1.439, allocations: 19.74 MB / 0.8495 GB, free: 103.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.439, allocations: 4 kB / 0.8495 GB, free: 103.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/1.458, allocations: 15.17 MB / 0.8643 GB, free: 88.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/1.462, allocations: 1.272 MB / 0.8656 GB, free: 87.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.464, allocations: 107.9 kB / 0.8657 GB, free: 87.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/1.467, allocations: 295.8 kB / 0.866 GB, free: 86.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009492/1.468, allocations: 441.3 kB / 0.8664 GB, free: 86.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/1.468, allocations: 168 kB / 0.8666 GB, free: 86.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00339/1.472, allocations: 2.815 MB / 0.8693 GB, free: 83.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.472, allocations: 0 / 0.8693 GB, free: 83.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006717/1.478, allocations: 2.152 MB / 0.8714 GB, free: 81.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vSourceQS.plug_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 (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02073/1.499, allocations: 15.96 MB / 0.887 GB, free: 65.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01565/1.515, allocations: 10.32 MB / 0.8971 GB, free: 54.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.515, allocations: 4 kB / 0.8971 GB, free: 54.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008038/1.523, allocations: 5.245 MB / 0.9022 GB, free: 49.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/1.528, allocations: 1.155 MB / 0.9033 GB, free: 48.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2982/1.826, allocations: 70.66 MB / 0.9723 GB, free: 199.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006557/1.832, allocations: 6.762 MB / 0.9789 GB, free: 199.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004813/1.837, allocations: 2.345 MB / 0.9812 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004493/1.842, allocations: 3.949 MB / 0.9851 GB, free: 197.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/1.842, allocations: 0 / 0.9851 GB, free: 197.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1985/2.04, allocations: 171.8 MB / 1.153 GB, free: 37.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.23/25.27, allocations: 10.81 kB / 1.153 GB, free: 37.09 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.95049752795603]