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.IMC_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.001287/0.001287, allocations: 108.6 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.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.001471/0.001471, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.326/1.326, allocations: 225.7 MB / 253.3 MB, free: 13.04 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.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 51.92 kB / 371.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2598, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02945/0.2892, allocations: 24.92 MB / 448.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.3076, allocations: 7.395 MB / 455.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005747/0.3134, allocations: 222.9 kB / 456 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0224/0.3358, allocations: 8.914 MB / 464.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.3487, allocations: 3.046 MB / 467.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3546, allocations: 1.75 MB / 469.7 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01603/0.3706, allocations: 10.85 MB / 480.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02724/0.3979, allocations: 14.35 MB / 494.9 MB, free: 6.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.4091, allocations: 5.872 MB / 0.489 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.4221, allocations: 6.331 MB / 0.4952 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0056/0.4277, allocations: 1.672 MB / 0.4968 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007875/0.4356, allocations: 2.039 MB / 0.4988 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005785/0.4413, allocations: 3.157 MB / 0.5019 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.4546, allocations: 6.098 MB / 0.5079 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03047/0.4851, allocations: 22.37 MB / 0.5297 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4851, allocations: 0 / 0.5297 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4851, allocations: 0 / 0.5297 GB, free: 7.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006305/0.4857, allocations: 4 kB / 0.5297 GB, free: 7.156 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.4771/0.9628, allocations: 12.86 MB / 0.5423 GB, free: 92.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.9629, allocations: 11.81 kB / 0.5423 GB, free: 92.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004144/0.9633, allocations: 285.6 kB / 0.5426 GB, free: 92.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006758/0.9701, allocations: 1.546 MB / 0.5441 GB, free: 91.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03366/1.004, allocations: 6.251 MB / 0.5502 GB, free: 89.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/1.02, allocations: 6.998 MB / 0.557 GB, free: 84.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009359/1.021, allocations: 0.698 MB / 0.5577 GB, free: 83.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005244/1.026, allocations: 0.9212 MB / 0.5586 GB, free: 82.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/1.066, allocations: 15.75 MB / 0.574 GB, free: 67.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005939/1.067, allocations: 15.94 kB / 0.574 GB, free: 67.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00415/1.071, allocations: 391.3 kB / 0.5744 GB, free: 66.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005254/1.071, allocations: 0.5509 MB / 0.5749 GB, free: 66.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03025/1.102, allocations: 14.78 MB / 0.5893 GB, free: 51.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08477/1.186, allocations: 49.83 MB / 0.638 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/1.205, allocations: 9.286 MB / 0.6471 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005891/1.211, allocations: 2.931 MB / 0.6499 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/1.212, allocations: 91.05 kB / 0.65 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.466e-05/1.212, allocations: 77.69 kB / 0.6501 GB, free: 5.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=400): time 5.53e-06/1.212, allocations: 0 / 0.6501 GB, free: 5.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=467): time 0.07042/1.282, allocations: 26.83 MB / 0.6763 GB, free: 10.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/1.282, allocations: 99.06 kB / 0.6764 GB, free: 10.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008003/1.29, allocations: 3.692 MB / 0.68 GB, free: 7.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007766/1.291, allocations: 101.7 kB / 0.6801 GB, free: 7.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003549/1.295, allocations: 4.12 MB / 0.6841 GB, free: 2.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/1.297, allocations: 1.666 MB / 0.6857 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003721/1.301, allocations: 1.224 MB / 0.6869 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.301, allocations: 301.1 kB / 0.6872 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006248/1.307, allocations: 3.202 MB / 0.6903 GB, free: 12.45 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008256/1.316, allocations: 5.389 MB / 0.6956 GB, free: 6.074 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.331, allocations: 9.227 MB / 0.7046 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.331, allocations: 20 kB / 0.7046 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02669/1.358, allocations: 10.94 MB / 0.7153 GB, free: 0.8867 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.358, allocations: 32 kB / 0.7153 GB, free: 0.8555 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.358, allocations: 75.94 kB / 0.7154 GB, free: 0.7812 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00786/1.366, allocations: 2.462 MB / 0.7178 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005935/1.372, allocations: 1.334 MB / 0.7191 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03805/1.41, allocations: 20.51 MB / 0.7392 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.416, allocations: 351.6 kB / 0.7395 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.418, allocations: 300 kB / 0.7398 GB, free: 7.582 MB / 0.545 GB 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 (700): * Single equations (assignments): 697 * 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,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01014/1.428, allocations: 3.788 MB / 0.7435 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/1.43, allocations: 433.2 kB / 0.7439 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2779/1.708, allocations: 8.586 MB / 0.7523 GB, free: 184.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01113/1.719, allocations: 7.331 MB / 0.7594 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.254e-05/1.719, allocations: 21.5 kB / 0.7595 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.307e-05/1.719, allocations: 26.81 kB / 0.7595 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/1.751, allocations: 19.08 MB / 0.7781 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.751, allocations: 7.125 kB / 0.7781 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.754, allocations: 0.7428 MB / 0.7788 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005738/1.76, allocations: 2.193 MB / 0.781 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007933/1.761, allocations: 100.3 kB / 0.7811 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/1.783, allocations: 17.21 MB / 0.7979 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.783, allocations: 11.94 kB / 0.7979 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.803, allocations: 12.31 MB / 0.8099 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002967/1.806, allocations: 1.056 MB / 0.811 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.807, allocations: 91.98 kB / 0.811 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/1.81, allocations: 211.8 kB / 0.8112 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.811, allocations: 363.8 kB / 0.8116 GB, free: 143.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/1.812, allocations: 139.9 kB / 0.8117 GB, free: 143.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004353/1.816, allocations: 2.491 MB / 0.8142 GB, free: 140.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.816, allocations: 0 / 0.8142 GB, free: 140.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007258/1.823, allocations: 1.787 MB / 0.8159 GB, free: 139 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.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 (401): * Single equations (assignments): 398 * 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,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01894/1.842, allocations: 13.08 MB / 0.8287 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01625/1.859, allocations: 8.509 MB / 0.837 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.859, allocations: 448 / 0.837 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009142/1.868, allocations: 4.312 MB / 0.8412 GB, free: 113.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006388/1.874, allocations: 0.9856 MB / 0.8422 GB, free: 112.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09748/1.972, allocations: 59.97 MB / 0.9007 GB, free: 49.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006487/1.978, allocations: 6.342 MB / 0.9069 GB, free: 43.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004321/1.982, allocations: 1.933 MB / 0.9088 GB, free: 41.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004104/1.986, allocations: 3.346 MB / 0.9121 GB, free: 38.03 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.986, allocations: 0 / 0.9121 GB, free: 38.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5084/2.495, allocations: 149.9 MB / 1.058 GB, free: 119.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.03/23.53, allocations: 4.062 kB / 1.058 GB, free: 119.9 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_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_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 26.950829192006495]