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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001463/0.001464, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3609, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02909/0.3901, allocations: 26.96 MB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.4088, allocations: 8.035 MB / 436.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006366/0.4152, allocations: 199.4 kB / 436.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02176/0.437, allocations: 9.354 MB / 446 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.4489, allocations: 3.318 MB / 449.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006422/0.4554, allocations: 1.819 MB / 451.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01714/0.4725, allocations: 12.12 MB / 463.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04303/0.5156, allocations: 24.38 MB / 487.6 MB, free: 2.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.5277, allocations: 6.472 MB / 494.1 MB, free: 11.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.5406, allocations: 7.168 MB / 0.4895 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006668/0.5473, allocations: 1.84 MB / 0.4913 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008248/0.5556, allocations: 2.195 MB / 0.4935 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008355/0.564, allocations: 3.605 MB / 0.497 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01367/0.5777, allocations: 6.923 MB / 0.5037 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0298/0.6075, allocations: 24.74 MB / 0.5279 GB, free: 13.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.6076, allocations: 0 / 0.5279 GB, free: 13.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6076, allocations: 3.938 kB / 0.5279 GB, free: 13.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007724/0.6084, allocations: 0 / 0.5279 GB, free: 13.17 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.5159/1.124, allocations: 14.47 MB / 0.542 GB, free: 114.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.124, allocations: 9.312 kB / 0.5421 GB, free: 114.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04692/1.171, allocations: 8.485 MB / 0.5503 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.187, allocations: 7.645 MB / 0.5578 GB, free: 107.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007/1.188, allocations: 0.8069 MB / 0.5586 GB, free: 107.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004749/1.192, allocations: 1.057 MB / 0.5596 GB, free: 106.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04391/1.236, allocations: 18.3 MB / 0.5775 GB, free: 87.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004285/1.237, allocations: 11.89 kB / 0.5775 GB, free: 87.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003933/1.241, allocations: 455.3 kB / 0.5779 GB, free: 87.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005679/1.241, allocations: 0.6672 MB / 0.5786 GB, free: 86.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03444/1.276, allocations: 17.54 MB / 0.5957 GB, free: 69.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09094/1.367, allocations: 58.05 MB / 0.6524 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03071/1.398, allocations: 37.48 MB / 0.689 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008008/1.406, allocations: 4.099 MB / 0.693 GB, free: 12.53 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/1.406, allocations: 201 kB / 0.6932 GB, free: 12.31 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/1.406, allocations: 90.62 kB / 0.6933 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 7.043e-06/1.406, allocations: 0 / 0.6933 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.05379/1.46, allocations: 21.43 MB / 0.7142 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.46, allocations: 107.5 kB / 0.7143 GB, free: 6.398 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008452/1.469, allocations: 4.175 MB / 0.7184 GB, free: 2.195 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.47, allocations: 105.7 kB / 0.7185 GB, free: 2.086 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.473, allocations: 4.513 MB / 0.7229 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.475, allocations: 1.775 MB / 0.7247 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/1.478, allocations: 1.351 MB / 0.726 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.478, allocations: 305.1 kB / 0.7263 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/1.483, allocations: 3.445 MB / 0.7296 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007561/1.491, allocations: 5.881 MB / 0.7354 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.505, allocations: 10.02 MB / 0.7452 GB, free: 4.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.591e-05/1.505, allocations: 24 kB / 0.7452 GB, free: 4.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2844/1.789, allocations: 10.94 MB / 0.7559 GB, free: 188.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/1.79, allocations: 38.84 kB / 0.7559 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.79, allocations: 78.81 kB / 0.756 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/1.793, allocations: 1.443 MB / 0.7574 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006061/1.8, allocations: 1.615 MB / 0.759 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.815, allocations: 11.49 MB / 0.7702 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/1.821, allocations: 406.6 kB / 0.7706 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.822, allocations: 338.2 kB / 0.7709 GB, free: 182.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.007426/1.829, allocations: 4.156 MB / 0.7749 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.831, allocations: 477.3 kB / 0.7754 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.845, allocations: 8.474 MB / 0.7837 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0107/1.855, allocations: 7.089 MB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/1.855, allocations: 12 kB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/1.856, allocations: 26.58 kB / 0.7906 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03166/1.887, allocations: 18.76 MB / 0.809 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.887, allocations: 4 kB / 0.809 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/1.891, allocations: 0.9323 MB / 0.8099 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003368/1.894, allocations: 1.305 MB / 0.8111 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006615/1.895, allocations: 108 kB / 0.8112 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.908, allocations: 10.18 MB / 0.8212 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.908, allocations: 7.938 kB / 0.8212 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.927, allocations: 12.27 MB / 0.8332 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003345/1.93, allocations: 1.163 MB / 0.8343 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.931, allocations: 92 kB / 0.8344 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/1.934, allocations: 275.8 kB / 0.8347 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007838/1.935, allocations: 348.4 kB / 0.835 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.935, allocations: 148 kB / 0.8351 GB, free: 127.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004122/1.94, allocations: 2.818 MB / 0.8379 GB, free: 124.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/1.94, allocations: 0 / 0.8379 GB, free: 124.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00751/1.947, allocations: 1.93 MB / 0.8398 GB, free: 122.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.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 (499): * Single equations (assignments): 497 * 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.0011/1.948, allocations: 316.5 kB / 0.8401 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.962, allocations: 8.739 MB / 0.8486 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.962, allocations: 4.062 kB / 0.8486 GB, free: 113.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007291/1.969, allocations: 4.189 MB / 0.8527 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/1.976, allocations: 1.135 MB / 0.8538 GB, free: 108.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/2.007, allocations: 18.88 MB / 0.8722 GB, free: 89.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007741/2.015, allocations: 6.805 MB / 0.8789 GB, free: 82.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/2.017, allocations: 467.3 kB / 0.8793 GB, free: 81.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/2.017, allocations: 0 / 0.8793 GB, free: 81.84 MB / 0.545 GB Notification: Performance of Templates: time 0.4295/2.446, allocations: 182.2 MB / 1.057 GB, free: 86.54 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches