Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001265/0.001265, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001329/0.001329, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 207.6 MB / 232.5 MB, free: 3.93 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 59.91 kB / 343 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08632, allocations: 49.13 MB / 392.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03025/0.1166, allocations: 27.2 MB / 419.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1331, allocations: 8.024 MB / 427.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00456/0.1377, allocations: 206.9 kB / 427.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02155/0.1592, allocations: 9.471 MB / 437.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.1714, allocations: 3.397 MB / 440.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006458/0.1779, allocations: 1.86 MB / 442.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01743/0.1953, allocations: 12.29 MB / 454.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2321/0.4274, allocations: 18.66 MB / 473.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.438, allocations: 6.656 MB / 479.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.4494, allocations: 7.351 MB / 487.3 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006308/0.4558, allocations: 1.852 MB / 489.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007265/0.463, allocations: 2.216 MB / 491.3 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004845/0.4679, allocations: 3.69 MB / 495 MB, free: 6.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.4785, allocations: 6.999 MB / 0.4903 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03211/0.5106, allocations: 24.83 MB / 0.5145 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5107, allocations: 0 / 0.5145 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5107, allocations: 0 / 0.5145 GB, free: 272 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007254/0.5114, allocations: 0 / 0.5145 GB, free: 272 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04478/0.5562, allocations: 14.92 MB / 0.5291 GB, free: 1.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5562, allocations: 12.03 kB / 0.5291 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003567/0.5566, allocations: 336.5 kB / 0.5294 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005767/0.5623, allocations: 1.821 MB / 0.5312 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05262/0.6149, allocations: 9.529 MB / 0.5405 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.63, allocations: 6.914 MB / 0.5472 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008864/0.6309, allocations: 0.8232 MB / 0.548 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003951/0.6348, allocations: 1.08 MB / 0.5491 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/0.6793, allocations: 18.75 MB / 0.5674 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00043/0.6798, allocations: 23.22 kB / 0.5674 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003226/0.683, allocations: 454.8 kB / 0.5679 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008374/0.6838, allocations: 0.6911 MB / 0.5685 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03774/0.7216, allocations: 18.23 MB / 0.5863 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.8255, allocations: 59.5 MB / 0.6445 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3354/1.161, allocations: 46.2 MB / 0.6896 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006337/1.167, allocations: 3.895 MB / 0.6934 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/1.185, allocations: 12.39 MB / 0.7055 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.185, allocations: 77.47 kB / 0.7055 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=387): time 5.761e-06/1.185, allocations: 0 / 0.7055 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=466): time 0.05741/1.242, allocations: 30.69 MB / 0.7355 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.242, allocations: 101.9 kB / 0.7356 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004943/1.247, allocations: 4.353 MB / 0.7399 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006947/1.248, allocations: 99.45 kB / 0.74 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.25, allocations: 4.993 MB / 0.7448 GB, free: 119 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.251, allocations: 1.673 MB / 0.7465 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/1.253, allocations: 1.378 MB / 0.7478 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.801e-05/1.253, allocations: 305.1 kB / 0.7481 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/1.257, allocations: 3.597 MB / 0.7516 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/1.261, allocations: 6.258 MB / 0.7577 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009559/1.271, allocations: 10.53 MB / 0.768 GB, free: 92.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.685e-05/1.271, allocations: 24 kB / 0.768 GB, free: 92.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01742/1.288, allocations: 12.42 MB / 0.7802 GB, free: 80.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/1.289, allocations: 40 kB / 0.7802 GB, free: 80.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.406e-05/1.289, allocations: 88.94 kB / 0.7803 GB, free: 80.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/1.295, allocations: 2.91 MB / 0.7831 GB, free: 77.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004891/1.3, allocations: 1.47 MB / 0.7846 GB, free: 75.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02735/1.328, allocations: 24.06 MB / 0.8081 GB, free: 51.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.333, allocations: 423.5 kB / 0.8085 GB, free: 51.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007939/1.333, allocations: 355.9 kB / 0.8088 GB, free: 50.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (758): * Single equations (assignments): 755 * 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.3%), (14,56,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005307/1.339, allocations: 4.266 MB / 0.813 GB, free: 46.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009979/1.34, allocations: 492.9 kB / 0.8135 GB, free: 46.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.354, allocations: 9.53 MB / 0.8228 GB, free: 36.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01109/1.365, allocations: 8.056 MB / 0.8306 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.827e-05/1.365, allocations: 24 kB / 0.8307 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.45e-05/1.365, allocations: 23.91 kB / 0.8307 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/1.393, allocations: 19.86 MB / 0.8501 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.393, allocations: 4.062 kB / 0.8501 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/1.396, allocations: 0.7411 MB / 0.8508 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/1.402, allocations: 2.593 MB / 0.8533 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/1.402, allocations: 95.98 kB / 0.8534 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2126/1.615, allocations: 20.29 MB / 0.8732 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.615, allocations: 1.062 kB / 0.8732 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.633, allocations: 13.44 MB / 0.8864 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.636, allocations: 1.207 MB / 0.8875 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/1.637, allocations: 83.7 kB / 0.8876 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.639, allocations: 268.4 kB / 0.8879 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.64, allocations: 336.4 kB / 0.8882 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/1.64, allocations: 134.3 kB / 0.8883 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004273/1.645, allocations: 2.904 MB / 0.8912 GB, free: 158 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.645, allocations: 0 / 0.8912 GB, free: 158 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005854/1.651, allocations: 2.058 MB / 0.8932 GB, free: 157.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (372): * Single equations (assignments): 369 * 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,39.8%), (14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01724/1.668, allocations: 14.16 MB / 0.907 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.682, allocations: 9.523 MB / 0.9163 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.682, allocations: 0 / 0.9163 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007856/1.69, allocations: 4.707 MB / 0.9209 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005014/1.695, allocations: 1.116 MB / 0.922 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09213/1.787, allocations: 68.39 MB / 0.9888 GB, free: 70.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005801/1.793, allocations: 7.212 MB / 0.9958 GB, free: 63.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004818/1.797, allocations: 2.278 MB / 0.998 GB, free: 61.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004045/1.801, allocations: 3.94 MB / 1.002 GB, free: 57.42 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.801, allocations: 0 / 1.002 GB, free: 57.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3909/2.192, allocations: 159.6 MB / 1.158 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.07/23.26, allocations: 7.938 kB / 1.158 GB, free: 94.83 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 26.852508734969888]