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.001941/0.001941, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002506/0.002506, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.458/1.458, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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="me",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="me",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.002137/0.002137, allocations: 55.86 kB / 347.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 49.15 MB / 396.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02878/0.3583, allocations: 23.26 MB / 419.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0207/0.379, allocations: 7.716 MB / 427.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006972/0.386, allocations: 202.1 kB / 427.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02431/0.4103, allocations: 8.757 MB / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.4247, allocations: 3.412 MB / 439.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006458/0.4311, allocations: 1.82 MB / 441.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01865/0.4498, allocations: 12.42 MB / 454 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03367/0.4834, allocations: 15.88 MB / 469.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.4961, allocations: 6.714 MB / 476.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.5113, allocations: 7.054 MB / 483.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007156/0.5184, allocations: 1.844 MB / 485.5 MB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.5301, allocations: 2.199 MB / 487.7 MB, free: 7.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006729/0.5368, allocations: 3.671 MB / 491.3 MB, free: 3.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01219/0.549, allocations: 5.421 MB / 496.7 MB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03497/0.584, allocations: 24.89 MB / 0.5094 GB, free: 5.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.584, allocations: 0 / 0.5094 GB, free: 5.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.584, allocations: 0 / 0.5094 GB, free: 5.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006331/0.5846, allocations: 0 / 0.5094 GB, free: 5.324 MB / 430.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.05009/0.6347, allocations: 14.83 MB / 0.5239 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.6347, allocations: 19.92 kB / 0.5239 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008721/0.6435, allocations: 1.817 MB / 0.5257 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05489/0.6984, allocations: 9.52 MB / 0.535 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/0.7193, allocations: 7.029 MB / 0.5418 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/0.7205, allocations: 0.8188 MB / 0.5426 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/0.7258, allocations: 1.07 MB / 0.5437 GB, free: 2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4314/1.157, allocations: 18.97 MB / 0.5622 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003702/1.157, allocations: 12.91 kB / 0.5622 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002523/1.16, allocations: 459.2 kB / 0.5627 GB, free: 122.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009182/1.161, allocations: 0.7012 MB / 0.5634 GB, free: 122.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/1.203, allocations: 18.11 MB / 0.581 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09854/1.302, allocations: 53 MB / 0.6328 GB, free: 76.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/1.324, allocations: 14.59 MB / 0.647 GB, free: 64.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00545/1.33, allocations: 3.884 MB / 0.6508 GB, free: 60.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/1.348, allocations: 11.19 MB / 0.6618 GB, free: 49.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.348, allocations: 69.58 kB / 0.6618 GB, free: 49.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.905e-06/1.348, allocations: 3.984 kB / 0.6618 GB, free: 49.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.03868/1.387, allocations: 19.06 MB / 0.6804 GB, free: 30.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.387, allocations: 90.47 kB / 0.6805 GB, free: 30.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005496/1.392, allocations: 4.44 MB / 0.6849 GB, free: 26.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008142/1.393, allocations: 93.7 kB / 0.685 GB, free: 26.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/1.396, allocations: 5.006 MB / 0.6898 GB, free: 21.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.397, allocations: 1.415 MB / 0.6912 GB, free: 19.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/1.399, allocations: 1.275 MB / 0.6925 GB, free: 18.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.399, allocations: 309.1 kB / 0.6928 GB, free: 18.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.402, allocations: 3.1 MB / 0.6958 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/1.407, allocations: 5.757 MB / 0.7014 GB, free: 8.094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.419, allocations: 9.419 MB / 0.7106 GB, free: 13.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.419, allocations: 27.94 kB / 0.7106 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02477/1.444, allocations: 10.2 MB / 0.7206 GB, free: 3.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.444, allocations: 44 kB / 0.7206 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/1.444, allocations: 84.38 kB / 0.7207 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/1.448, allocations: 1.385 MB / 0.7221 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/1.455, allocations: 1.458 MB / 0.7235 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/1.477, allocations: 10.95 MB / 0.7342 GB, free: 5.129 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/1.483, allocations: 399.5 kB / 0.7346 GB, free: 4.738 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.485, allocations: 332 kB / 0.7349 GB, free: 4.414 MB / 0.4982 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009406/1.494, allocations: 4.173 MB / 0.739 GB, free: 232 kB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/1.496, allocations: 477 kB / 0.7394 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.511, allocations: 7.262 MB / 0.7465 GB, free: 8.453 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01138/1.523, allocations: 5.961 MB / 0.7523 GB, free: 2.469 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.523, allocations: 16 kB / 0.7523 GB, free: 2.453 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-05/1.523, allocations: 19.92 kB / 0.7524 GB, free: 2.434 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03188/1.555, allocations: 15.52 MB / 0.7675 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.555, allocations: 96 / 0.7675 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/1.558, allocations: 0.7255 MB / 0.7682 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/1.561, allocations: 1.233 MB / 0.7694 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.562, allocations: 83.98 kB / 0.7695 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2135/1.775, allocations: 9.701 MB / 0.779 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.775, allocations: 5.062 kB / 0.779 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.792, allocations: 10.46 MB / 0.7892 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/1.795, allocations: 0.9942 MB / 0.7902 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/1.796, allocations: 75.2 kB / 0.7902 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/1.799, allocations: 244.7 kB / 0.7905 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/1.799, allocations: 289.7 kB / 0.7908 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.8, allocations: 110.5 kB / 0.7909 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003886/1.804, allocations: 2.862 MB / 0.7937 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.804, allocations: 3 kB / 0.7937 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006253/1.81, allocations: 1.823 MB / 0.7954 GB, free: 166.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.01449/1.824, allocations: 11.17 MB / 0.8063 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.835, allocations: 7.552 MB / 0.8137 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.835, allocations: 0 / 0.8137 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/1.841, allocations: 3.358 MB / 0.817 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/1.845, allocations: 1.093 MB / 0.8181 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/1.948, allocations: 61.55 MB / 0.8782 GB, free: 94.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006798/1.955, allocations: 6.612 MB / 0.8846 GB, free: 87.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005332/1.96, allocations: 2.252 MB / 0.8868 GB, free: 85.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00473/1.965, allocations: 3.877 MB / 0.8906 GB, free: 81.54 MB / 0.5294 GB Notification: Performance of SimCode: time 1.153e-06/1.965, allocations: 0 / 0.8906 GB, free: 81.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/2.37, allocations: 143.2 MB / 1.03 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.88, allocations: 8.047 kB / 1.03 GB, free: 135.5 MB / 0.5294 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.541121368762106]