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.0007755/0.0007755, allocations: 96.09 kB / 17.31 MB, free: 5.941 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.0008279/0.0008279, allocations: 175.8 kB / 18.21 MB, free: 5.418 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.121/1.121, allocations: 223.3 MB / 242.3 MB, free: 12 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002112/0.0002113, allocations: 8 kB / 302.1 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07059, allocations: 50.42 MB / 352.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1513/0.222, allocations: 23.23 MB / 375.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2327, allocations: 7.219 MB / 383 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.2362, allocations: 174.7 kB / 383.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.24, allocations: 1.779 MB / 384.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.2463, allocations: 2.663 MB / 387.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.2489, allocations: 1.484 MB / 389.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008833/0.2577, allocations: 10.61 MB / 399.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02702/0.2848, allocations: 22.13 MB / 421.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.29, allocations: 4.024 MB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004905/0.2949, allocations: 4.776 MB / 430.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.2957, allocations: 0.6445 MB / 431.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.2978, allocations: 1.004 MB / 432.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.2991, allocations: 1.935 MB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003867/0.303, allocations: 4.77 MB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.316, allocations: 18.98 MB / 457.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.316, allocations: 0 / 457.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.316, allocations: 0 / 457.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000245/0.3163, allocations: 0 / 457.9 MB, free: 12.05 MB / 366.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.0229/0.3392, allocations: 10.69 MB / 468.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3392, allocations: 8.031 kB / 468.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/0.3689, allocations: 6.177 MB / 474.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009574/0.3785, allocations: 6.75 MB / 481.6 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004584/0.379, allocations: 0.7064 MB / 482.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.3807, allocations: 0.9217 MB / 483.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.4038, allocations: 15.76 MB / 499 MB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.404, allocations: 11.91 kB / 499 MB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008999/0.4049, allocations: 396 kB / 499.4 MB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004226/0.4053, allocations: 0.547 MB / 499.9 MB, free: 2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.4257, allocations: 14.78 MB / 0.5026 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3109/0.7366, allocations: 51.74 MB / 0.5532 GB, free: 93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/0.7518, allocations: 26.47 MB / 0.579 GB, free: 67.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/0.7551, allocations: 3.27 MB / 0.5822 GB, free: 66.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.7553, allocations: 175.4 kB / 0.5824 GB, free: 66.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.7553, allocations: 70.39 kB / 0.5824 GB, free: 65.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 5.43e-06/0.7553, allocations: 0 / 0.5824 GB, free: 65.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.02727/0.7826, allocations: 17.37 MB / 0.5994 GB, free: 56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7827, allocations: 93.84 kB / 0.5995 GB, free: 55.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/0.7862, allocations: 3.687 MB / 0.6031 GB, free: 52.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.7864, allocations: 93.7 kB / 0.6032 GB, free: 52.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.7877, allocations: 3.969 MB / 0.607 GB, free: 48.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.7883, allocations: 1.394 MB / 0.6084 GB, free: 47.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/0.7888, allocations: 470.8 kB / 0.6089 GB, free: 46.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.7888, allocations: 305.1 kB / 0.6091 GB, free: 46.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.7917, allocations: 2.838 MB / 0.6119 GB, free: 43.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/0.7953, allocations: 5.001 MB / 0.6168 GB, free: 37.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006794/0.8021, allocations: 8.393 MB / 0.625 GB, free: 28.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.8022, allocations: 24 kB / 0.625 GB, free: 28.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01041/0.8126, allocations: 9.169 MB / 0.634 GB, free: 19.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.8126, allocations: 39.98 kB / 0.634 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.8127, allocations: 72 kB / 0.6341 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.8152, allocations: 1.194 MB / 0.6352 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.8187, allocations: 1.322 MB / 0.6365 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.8289, allocations: 9.128 MB / 0.6455 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.8317, allocations: 335.5 kB / 0.6458 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.832, allocations: 284 kB / 0.646 GB, free: 6.578 MB / 430.1 MB 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003795/0.8358, allocations: 3.72 MB / 0.6497 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.8363, allocations: 399 kB / 0.6501 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009673/0.8459, allocations: 6.767 MB / 0.6567 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007852/0.8538, allocations: 5.67 MB / 0.6622 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.8538, allocations: 12 kB / 0.6622 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.8539, allocations: 23.91 kB / 0.6622 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/0.8746, allocations: 16.19 MB / 0.678 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8746, allocations: 7.938 kB / 0.6781 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/0.8772, allocations: 0.7222 MB / 0.6788 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.8798, allocations: 1.074 MB / 0.6798 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.88, allocations: 95.97 kB / 0.6799 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.8905, allocations: 8.079 MB / 0.6878 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8905, allocations: 8 kB / 0.6878 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.9032, allocations: 9.96 MB / 0.6975 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.9047, allocations: 0.9683 MB / 0.6985 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.9051, allocations: 79.98 kB / 0.6985 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.9069, allocations: 211.9 kB / 0.6988 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1495/1.056, allocations: 283 kB / 0.699 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005554/1.057, allocations: 120.4 kB / 0.6991 GB, free: 154.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004279/1.061, allocations: 2.495 MB / 0.7016 GB, free: 154.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.061, allocations: 0 / 0.7016 GB, free: 154.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005274/1.067, allocations: 1.615 MB / 0.7031 GB, free: 154.4 MB / 478.1 MB 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006955/1.067, allocations: 280.8 kB / 0.7034 GB, free: 154.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.078, allocations: 7.203 MB / 0.7104 GB, free: 152.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.078, allocations: 1.219 kB / 0.7105 GB, free: 152.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005002/1.083, allocations: 3.426 MB / 0.7138 GB, free: 151.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.088, allocations: 0.9181 MB / 0.7147 GB, free: 151.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.108, allocations: 20.33 MB / 0.7345 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004002/1.113, allocations: 6.009 MB / 0.7404 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.114, allocations: 378.4 kB / 0.7408 GB, free: 137.6 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/1.114, allocations: 2.625 kB / 0.7408 GB, free: 137.6 MB / 478.1 MB Notification: Performance of Templates: time 0.2806/1.394, allocations: 156.7 MB / 0.8938 GB, free: 142.6 MB / 478.1 MB 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