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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 104.4 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 52.06 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3224, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02604/0.3485, allocations: 24.76 MB / 426.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.3684, allocations: 7.348 MB / 433.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006425/0.3749, allocations: 187.4 kB / 433.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02069/0.3957, allocations: 8.772 MB / 442.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.4081, allocations: 2.921 MB / 445.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005816/0.4139, allocations: 1.714 MB / 447.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.432, allocations: 10.72 MB / 457.9 MB, free: 264 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03526/0.4673, allocations: 21.83 MB / 479.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.4779, allocations: 5.701 MB / 485.4 MB, free: 4.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.4897, allocations: 6.253 MB / 491.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005643/0.4954, allocations: 1.672 MB / 493.3 MB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007407/0.5029, allocations: 2.035 MB / 495.3 MB, free: 10.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005867/0.5088, allocations: 3.145 MB / 498.5 MB, free: 7.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.521, allocations: 6.094 MB / 0.4928 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0288/0.5498, allocations: 22.32 MB / 0.5146 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5499, allocations: 4 kB / 0.5146 GB, free: 10.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5499, allocations: 0 / 0.5146 GB, free: 10.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006559/0.5505, allocations: 0 / 0.5146 GB, free: 10.94 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.04486/0.5954, allocations: 12.72 MB / 0.527 GB, free: 14.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5955, allocations: 16.03 kB / 0.527 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03503/0.6305, allocations: 6.197 MB / 0.533 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.6464, allocations: 6.905 MB / 0.5398 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007732/0.6472, allocations: 0.7024 MB / 0.5405 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4779/1.125, allocations: 0.9166 MB / 0.5414 GB, free: 115.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0394/1.165, allocations: 15.74 MB / 0.5567 GB, free: 109.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/1.165, allocations: 12.75 kB / 0.5568 GB, free: 109.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002931/1.168, allocations: 389.3 kB / 0.5571 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005373/1.168, allocations: 0.5538 MB / 0.5577 GB, free: 109.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/1.197, allocations: 14.77 MB / 0.5721 GB, free: 97.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08404/1.281, allocations: 50.99 MB / 0.6219 GB, free: 45.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/1.301, allocations: 26.47 MB / 0.6477 GB, free: 16.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/1.306, allocations: 3.207 MB / 0.6509 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/1.306, allocations: 171.2 kB / 0.651 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/1.307, allocations: 73.62 kB / 0.6511 GB, free: 12.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 6.723e-06/1.307, allocations: 0 / 0.6511 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04152/1.348, allocations: 17.29 MB / 0.668 GB, free: 11.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/1.348, allocations: 98.58 kB / 0.6681 GB, free: 11.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006887/1.355, allocations: 3.688 MB / 0.6717 GB, free: 7.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008088/1.356, allocations: 93.7 kB / 0.6718 GB, free: 7.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003088/1.359, allocations: 3.976 MB / 0.6756 GB, free: 3.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.361, allocations: 1.379 MB / 0.677 GB, free: 2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/1.363, allocations: 1.14 MB / 0.6781 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/1.363, allocations: 301.1 kB / 0.6784 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.368, allocations: 2.799 MB / 0.6811 GB, free: 13.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006127/1.374, allocations: 4.956 MB / 0.686 GB, free: 7.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.385, allocations: 8.309 MB / 0.6941 GB, free: 14.49 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-05/1.385, allocations: 20 kB / 0.6941 GB, free: 14.47 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01753/1.403, allocations: 9.093 MB / 0.703 GB, free: 5.352 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.403, allocations: 39.98 kB / 0.703 GB, free: 5.312 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.403, allocations: 68 kB / 0.7031 GB, free: 5.246 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.407, allocations: 1.225 MB / 0.7043 GB, free: 4.023 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.412, allocations: 1.326 MB / 0.7056 GB, free: 2.695 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.427, allocations: 9.916 MB / 0.7153 GB, free: 8.648 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/1.431, allocations: 327.4 kB / 0.7156 GB, free: 8.328 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007016/1.432, allocations: 284 kB / 0.7158 GB, free: 8.051 MB / 0.5138 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007162/1.439, allocations: 3.717 MB / 0.7195 GB, free: 4.32 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.44, allocations: 395.1 kB / 0.7198 GB, free: 3.93 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.452, allocations: 6.693 MB / 0.7264 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009135/1.461, allocations: 5.599 MB / 0.7319 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.461, allocations: 12 kB / 0.7319 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.461, allocations: 27.84 kB / 0.7319 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3689/1.83, allocations: 15.76 MB / 0.7473 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.83, allocations: 3.969 kB / 0.7473 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/1.833, allocations: 0.7236 MB / 0.748 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/1.836, allocations: 1.115 MB / 0.7491 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/1.837, allocations: 87.45 kB / 0.7492 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/1.848, allocations: 8.842 MB / 0.7578 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.848, allocations: 11.5 kB / 0.7578 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.861, allocations: 9.851 MB / 0.7674 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.864, allocations: 0.953 MB / 0.7684 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.865, allocations: 76.72 kB / 0.7684 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/1.868, allocations: 202.6 kB / 0.7686 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007438/1.869, allocations: 286.7 kB / 0.7689 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003351/1.869, allocations: 124.9 kB / 0.769 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005942/1.875, allocations: 2.489 MB / 0.7714 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.875, allocations: 0 / 0.7714 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007994/1.883, allocations: 1.615 MB / 0.773 GB, free: 162.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/1.884, allocations: 276.8 kB / 0.7733 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.896, allocations: 7.146 MB / 0.7803 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.896, allocations: 3.219 kB / 0.7803 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006169/1.902, allocations: 3.387 MB / 0.7836 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007191/1.91, allocations: 0.9831 MB / 0.7845 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/1.947, allocations: 16.1 MB / 0.8003 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009418/1.956, allocations: 6.006 MB / 0.8061 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/1.958, allocations: 379.4 kB / 0.8065 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.543e-06/1.958, allocations: 0 / 0.8065 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.4881/2.446, allocations: 157.7 MB / 0.9605 GB, free: 177.8 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) 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) Reference file matches