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.001826/0.001826, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001595/0.001595, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 378.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2265, allocations: 53.37 MB / 432 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0298/0.2563, allocations: 27.17 MB / 459.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2728, allocations: 8.195 MB / 467.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004297/0.2771, allocations: 238.8 kB / 467.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02091/0.298, allocations: 9.509 MB / 477.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.309, allocations: 3.456 MB / 480.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005362/0.3144, allocations: 1.867 MB / 482.4 MB, free: 4.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01622/0.3306, allocations: 12.38 MB / 494.8 MB, free: 7.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03073/0.3613, allocations: 16.03 MB / 0.4988 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.3716, allocations: 6.632 MB / 0.5053 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.3831, allocations: 7.316 MB / 0.5125 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004283/0.3874, allocations: 1.84 MB / 0.5143 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.3936, allocations: 2.234 MB / 0.5164 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005353/0.399, allocations: 3.616 MB / 0.52 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01147/0.4104, allocations: 6.926 MB / 0.5267 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2528/0.6632, allocations: 24.82 MB / 0.551 GB, free: 43.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6632, allocations: 2.188 kB / 0.551 GB, free: 43.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6632, allocations: 0 / 0.551 GB, free: 43.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000658/0.6639, allocations: 0 / 0.551 GB, free: 43.58 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.04185/0.7057, allocations: 14.69 MB / 0.5653 GB, free: 37.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7058, allocations: 10 kB / 0.5653 GB, free: 37.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002865/0.706, allocations: 332.1 kB / 0.5656 GB, free: 37.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006747/0.7128, allocations: 1.786 MB / 0.5674 GB, free: 36.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/0.7558, allocations: 8.433 MB / 0.5756 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.7712, allocations: 7.773 MB / 0.5832 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006303/0.7718, allocations: 0.808 MB / 0.584 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004193/0.776, allocations: 1.059 MB / 0.585 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/0.816, allocations: 18.34 MB / 0.6029 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003943/0.8164, allocations: 15.89 kB / 0.603 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004701/0.8211, allocations: 455.5 kB / 0.6034 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000601/0.8217, allocations: 0.6736 MB / 0.604 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03552/0.8572, allocations: 17.59 MB / 0.6212 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/0.9635, allocations: 56.93 MB / 0.6768 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02508/0.9886, allocations: 12.83 MB / 0.6893 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006644/0.9952, allocations: 3.753 MB / 0.693 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.9957, allocations: 157 kB / 0.6932 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/0.9958, allocations: 86.64 kB / 0.6932 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=520): time 6.813e-06/0.9958, allocations: 4 kB / 0.6932 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=599): time 0.0913/1.087, allocations: 34.09 MB / 0.7265 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/1.087, allocations: 120 kB / 0.7267 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007999/1.095, allocations: 4.182 MB / 0.7307 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.096, allocations: 121.7 kB / 0.7309 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003802/1.1, allocations: 4.675 MB / 0.7354 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003102/1.103, allocations: 2.121 MB / 0.7375 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005302/1.108, allocations: 1.467 MB / 0.7389 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.109, allocations: 304.9 kB / 0.7392 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007392/1.116, allocations: 3.931 MB / 0.7431 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009906/1.126, allocations: 6.399 MB / 0.7493 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2244/1.35, allocations: 11.14 MB / 0.7602 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.003e-05/1.35, allocations: 27 kB / 0.7602 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02021/1.371, allocations: 13.11 MB / 0.773 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/1.371, allocations: 39.09 kB / 0.773 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.371, allocations: 81.44 kB / 0.7731 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/1.378, allocations: 2.898 MB / 0.776 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/1.383, allocations: 1.639 MB / 0.7776 GB, free: 199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02996/1.413, allocations: 23.97 MB / 0.801 GB, free: 182 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/1.418, allocations: 423.4 kB / 0.8014 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/1.42, allocations: 361.9 kB / 0.8017 GB, free: 181.3 MB / 0.5762 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.006676/1.427, allocations: 4.256 MB / 0.8059 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.428, allocations: 0.5102 MB / 0.8064 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.444, allocations: 10.67 MB / 0.8168 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01339/1.457, allocations: 9.137 MB / 0.8257 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.457, allocations: 20 kB / 0.8257 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.509e-05/1.457, allocations: 31.83 kB / 0.8258 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03566/1.493, allocations: 23.12 MB / 0.8483 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.493, allocations: 3.844 kB / 0.8483 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.497, allocations: 0.9596 MB / 0.8493 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006245/1.503, allocations: 2.607 MB / 0.8518 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007154/1.504, allocations: 127.9 kB / 0.8519 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/1.527, allocations: 20.14 MB / 0.8716 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.527, allocations: 0 / 0.8716 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/1.548, allocations: 15.22 MB / 0.8865 GB, free: 95.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004091/1.552, allocations: 1.28 MB / 0.8877 GB, free: 94.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.554, allocations: 104 kB / 0.8878 GB, free: 94.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/1.557, allocations: 279.8 kB / 0.8881 GB, free: 93.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/1.558, allocations: 449.4 kB / 0.8885 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004605/1.559, allocations: 168 kB / 0.8887 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00393/1.563, allocations: 2.826 MB / 0.8914 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.563, allocations: 0 / 0.8914 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007503/1.57, allocations: 2.147 MB / 0.8935 GB, free: 88.2 MB / 0.5762 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.02173/1.592, allocations: 15.99 MB / 0.9092 GB, free: 72.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01654/1.609, allocations: 10.35 MB / 0.9193 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.609, allocations: 4.062 kB / 0.9193 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009314/1.618, allocations: 5.239 MB / 0.9244 GB, free: 56.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006648/1.625, allocations: 1.165 MB / 0.9255 GB, free: 55.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2997/1.924, allocations: 70.59 MB / 0.9945 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007443/1.932, allocations: 7.197 MB / 1.001 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005194/1.937, allocations: 2.345 MB / 1.004 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005486/1.942, allocations: 3.973 MB / 1.008 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/1.942, allocations: 3 kB / 1.008 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/2.185, allocations: 172.1 MB / 1.176 GB, free: 35.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.86/25.04, allocations: 6.047 kB / 1.176 GB, free: 35.5 MB / 0.5762 GB " [Timeout remaining time 635] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.77779525599908]