Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 94.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2096, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01852/0.2282, allocations: 23.56 MB / 398.1 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.2428, allocations: 7.369 MB / 405.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.2472, allocations: 155.5 kB / 405.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.2511, allocations: 1.484 MB / 407.1 MB, free: 16.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007301/0.2584, allocations: 2.8 MB / 409.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.2618, allocations: 1.258 MB / 411.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.2775, allocations: 14.81 MB / 426 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04138/0.3189, allocations: 19.88 MB / 445.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008943/0.3279, allocations: 4.833 MB / 450.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009046/0.337, allocations: 5.39 MB / 456.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.3399, allocations: 0.7188 MB / 456.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.3458, allocations: 1.074 MB / 457.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003794/0.3497, allocations: 2.274 MB / 460.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004917/0.3546, allocations: 2.34 MB / 462.5 MB, free: 8.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.3768, allocations: 20.92 MB / 483.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3769, allocations: 4 kB / 483.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.3769, allocations: 0 / 483.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007275/0.3776, allocations: 3.938 kB / 483.4 MB, free: 3.637 MB / 362.7 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.03405/0.4117, allocations: 12.39 MB / 495.8 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4117, allocations: 8.031 kB / 495.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3543/0.7661, allocations: 9.455 MB / 0.4935 GB, free: 89.04 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.7799, allocations: 6.809 MB / 0.5001 GB, free: 85.96 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008105/0.7808, allocations: 0.8187 MB / 0.5009 GB, free: 85.59 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003918/0.7847, allocations: 1.083 MB / 0.502 GB, free: 85.24 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/0.8243, allocations: 18.68 MB / 0.5202 GB, free: 73.41 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/0.8246, allocations: 19.8 kB / 0.5202 GB, free: 73.39 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002509/0.8272, allocations: 458.2 kB / 0.5207 GB, free: 72.96 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005181/0.8277, allocations: 0.6978 MB / 0.5213 GB, free: 72.27 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/0.8588, allocations: 18.14 MB / 0.5391 GB, free: 54.12 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09571/0.9545, allocations: 60.14 MB / 0.5978 GB, free: 8.988 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04088/0.9955, allocations: 46.68 MB / 0.6434 GB, free: 5.34 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007865/1.003, allocations: 4.317 MB / 0.6476 GB, free: 1.004 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0253/1.029, allocations: 12.47 MB / 0.6598 GB, free: 4.566 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/1.029, allocations: 77.55 kB / 0.6598 GB, free: 4.48 MB / 458.8 MB Notification: Performance of pre-optimization done (n=391): time 7.153e-06/1.029, allocations: 0 / 0.6598 GB, free: 4.48 MB / 458.8 MB Notification: Performance of matching and sorting (n=397): time 0.3066/1.335, allocations: 21.51 MB / 0.6808 GB, free: 151.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/1.336, allocations: 91.84 kB / 0.6809 GB, free: 151.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008407/1.344, allocations: 4.307 MB / 0.6851 GB, free: 149.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.345, allocations: 89.14 kB / 0.6852 GB, free: 149.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003487/1.349, allocations: 4.817 MB / 0.6899 GB, free: 146 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002205/1.351, allocations: 1.375 MB / 0.6913 GB, free: 144.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/1.351, allocations: 127.2 kB / 0.6914 GB, free: 144.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003808/1.352, allocations: 0.5672 MB / 0.6919 GB, free: 144.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/1.357, allocations: 3.135 MB / 0.695 GB, free: 143.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006617/1.364, allocations: 5.769 MB / 0.7006 GB, free: 138.5 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/1.371, allocations: 4.407 MB / 0.7049 GB, free: 136 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-05/1.371, allocations: 28.53 kB / 0.705 GB, free: 136 MB / 458.8 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01998/1.391, allocations: 10.3 MB / 0.715 GB, free: 127.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.392, allocations: 40 kB / 0.7151 GB, free: 127.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.392, allocations: 88.69 kB / 0.7152 GB, free: 127.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.396, allocations: 1.402 MB / 0.7165 GB, free: 126.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/1.402, allocations: 1.466 MB / 0.718 GB, free: 124.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/1.417, allocations: 10.56 MB / 0.7283 GB, free: 114.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007194/1.424, allocations: 399.3 kB / 0.7286 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.426, allocations: 335.7 kB / 0.729 GB, free: 113.5 MB / 458.8 MB 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01117/1.437, allocations: 4.18 MB / 0.733 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/1.44, allocations: 446.5 kB / 0.7335 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.456, allocations: 7.41 MB / 0.7407 GB, free: 101.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009777/1.466, allocations: 6.076 MB / 0.7466 GB, free: 95.32 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/1.466, allocations: 12 kB / 0.7467 GB, free: 95.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/1.466, allocations: 19.92 kB / 0.7467 GB, free: 95.29 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03388/1.5, allocations: 16.45 MB / 0.7627 GB, free: 78.82 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.5, allocations: 0 / 0.7627 GB, free: 78.82 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/1.503, allocations: 0.7294 MB / 0.7635 GB, free: 78.09 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/1.507, allocations: 1.246 MB / 0.7647 GB, free: 76.84 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004531/1.507, allocations: 91.97 kB / 0.7648 GB, free: 76.75 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.52, allocations: 9.297 MB / 0.7738 GB, free: 67.33 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.52, allocations: 4 kB / 0.7738 GB, free: 67.32 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.535, allocations: 10.61 MB / 0.7842 GB, free: 56.65 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/1.538, allocations: 1.058 MB / 0.7852 GB, free: 55.57 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.539, allocations: 75.98 kB / 0.7853 GB, free: 55.49 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/1.542, allocations: 251.8 kB / 0.7855 GB, free: 55.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/1.543, allocations: 275.5 kB / 0.7858 GB, free: 54.98 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/1.543, allocations: 116 kB / 0.7859 GB, free: 54.86 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00577/1.549, allocations: 2.869 MB / 0.7887 GB, free: 51.98 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.1e-07/1.549, allocations: 0 / 0.7887 GB, free: 51.98 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01004/1.559, allocations: 1.849 MB / 0.7905 GB, free: 50.14 MB / 458.8 MB 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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008993/1.56, allocations: 268.8 kB / 0.7908 GB, free: 49.88 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01362/1.574, allocations: 7.974 MB / 0.7986 GB, free: 41.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.574, allocations: 0 / 0.7986 GB, free: 41.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.58, allocations: 3.681 MB / 0.8022 GB, free: 38.21 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007112/1.587, allocations: 1.041 MB / 0.8032 GB, free: 37.19 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/1.628, allocations: 22.33 MB / 0.825 GB, free: 14.82 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2495/1.878, allocations: 6.822 MB / 0.8317 GB, free: 142.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.88, allocations: 424.3 kB / 0.8321 GB, free: 142.4 MB / 458.8 MB Notification: Performance of SimCode: time 1.163e-06/1.88, allocations: 0 / 0.8321 GB, free: 142.4 MB / 458.8 MB Notification: Performance of Templates: time 0.4488/2.329, allocations: 178.6 MB / 1.006 GB, free: 151.8 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches