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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_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.001152/0.001152, allocations: 101.4 kB / 18.35 MB, free: 4.645 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.001033/0.001033, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1147, allocations: 46.63 MB / 328.8 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02633/0.1411, allocations: 27.08 MB / 355.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.156, allocations: 8.005 MB / 363.8 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.1602, allocations: 167.5 kB / 364 MB, free: 356 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01986/0.1801, allocations: 9.354 MB / 373.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.1901, allocations: 3.377 MB / 376.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.1947, allocations: 1.824 MB / 378.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1524/0.3472, allocations: 12.28 MB / 390.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02592/0.3731, allocations: 24.43 MB / 415.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.3944, allocations: 7.827 MB / 423.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.4062, allocations: 7.259 MB / 430.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004133/0.4104, allocations: 1.855 MB / 432.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.4158, allocations: 2.206 MB / 434.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003553/0.4193, allocations: 3.669 MB / 438.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009493/0.4288, allocations: 7.007 MB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.4514, allocations: 24.77 MB / 469.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4514, allocations: 0 / 469.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4515, allocations: 4 kB / 469.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004534/0.4519, allocations: 0 / 469.9 MB, free: 1.957 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03789/0.4898, allocations: 14.66 MB / 484.5 MB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4899, allocations: 12.03 kB / 484.5 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05099/0.5409, allocations: 9.464 MB / 494 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.5552, allocations: 6.896 MB / 0.4892 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006082/0.5559, allocations: 0.8208 MB / 0.49 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/0.5587, allocations: 1.067 MB / 0.491 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04121/0.5999, allocations: 18.75 MB / 0.5093 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005366/0.6005, allocations: 23.36 kB / 0.5093 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003282/0.6038, allocations: 454.1 kB / 0.5098 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008766/0.6047, allocations: 0.6949 MB / 0.5104 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03654/0.6413, allocations: 18.21 MB / 0.5282 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3461/0.9874, allocations: 59.35 MB / 0.5862 GB, free: 110.9 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/1.012, allocations: 46.71 MB / 0.6318 GB, free: 65.6 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005066/1.017, allocations: 4.287 MB / 0.636 GB, free: 63.38 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/1.032, allocations: 12.36 MB / 0.6481 GB, free: 51.26 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.032, allocations: 77.52 kB / 0.6481 GB, free: 51.17 MB / 446.2 MB Notification: Performance of pre-optimization done (n=385): time 4.639e-06/1.032, allocations: 0 / 0.6481 GB, free: 51.17 MB / 446.2 MB Notification: Performance of matching and sorting (n=391): time 0.03509/1.067, allocations: 19.3 MB / 0.667 GB, free: 31.79 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.067, allocations: 94.41 kB / 0.6671 GB, free: 31.68 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/1.072, allocations: 4.342 MB / 0.6713 GB, free: 27.32 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/1.072, allocations: 85.7 kB / 0.6714 GB, free: 27.23 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.074, allocations: 4.823 MB / 0.6761 GB, free: 22.38 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007047/1.075, allocations: 1.35 MB / 0.6774 GB, free: 21.04 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/1.076, allocations: 1.27 MB / 0.6787 GB, free: 19.76 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.549e-05/1.076, allocations: 301.1 kB / 0.679 GB, free: 19.46 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.08, allocations: 3.124 MB / 0.682 GB, free: 16.33 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/1.084, allocations: 5.742 MB / 0.6876 GB, free: 9.367 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008914/1.093, allocations: 9.448 MB / 0.6968 GB, free: 14.68 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.46e-05/1.093, allocations: 28 kB / 0.6969 GB, free: 14.66 MB / 462.2 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01769/1.111, allocations: 10.27 MB / 0.7069 GB, free: 4.363 MB / 462.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/1.111, allocations: 43.94 kB / 0.7069 GB, free: 4.32 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/1.111, allocations: 88 kB / 0.707 GB, free: 4.234 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/1.115, allocations: 1.449 MB / 0.7084 GB, free: 2.785 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/1.12, allocations: 1.462 MB / 0.7099 GB, free: 1.32 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1633/1.283, allocations: 11.45 MB / 0.721 GB, free: 144.6 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/1.287, allocations: 398.3 kB / 0.7214 GB, free: 144.5 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006325/1.288, allocations: 327.1 kB / 0.7217 GB, free: 144.4 MB / 462.2 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 (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.005413/1.294, allocations: 4.183 MB / 0.7258 GB, free: 142.5 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009208/1.294, allocations: 444.8 kB / 0.7263 GB, free: 142.5 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.305, allocations: 7.356 MB / 0.7334 GB, free: 139.6 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007777/1.313, allocations: 6.033 MB / 0.7393 GB, free: 137.3 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.313, allocations: 14.62 kB / 0.7393 GB, free: 137.3 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/1.313, allocations: 22.33 kB / 0.7394 GB, free: 137.3 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/1.335, allocations: 16.33 MB / 0.7553 GB, free: 130.8 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.335, allocations: 0 / 0.7553 GB, free: 130.8 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.338, allocations: 0.7273 MB / 0.756 GB, free: 130.6 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/1.341, allocations: 1.293 MB / 0.7573 GB, free: 130.1 MB / 462.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.341, allocations: 91.09 kB / 0.7574 GB, free: 130 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.352, allocations: 10.18 MB / 0.7673 GB, free: 120.3 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.352, allocations: 1.25 kB / 0.7673 GB, free: 120.3 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.365, allocations: 10.54 MB / 0.7776 GB, free: 109.9 MB / 462.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.368, allocations: 1.038 MB / 0.7786 GB, free: 108.8 MB / 462.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/1.368, allocations: 68 kB / 0.7787 GB, free: 108.7 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.37, allocations: 249.7 kB / 0.7789 GB, free: 108.5 MB / 462.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/1.371, allocations: 275.6 kB / 0.7792 GB, free: 108.2 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/1.371, allocations: 118.8 kB / 0.7793 GB, free: 108.1 MB / 462.2 MB Notification: Performance of sorting global known variables: time 0.003285/1.374, allocations: 2.908 MB / 0.7821 GB, free: 105.2 MB / 462.2 MB Notification: Performance of sort global known variables: time 2.3e-07/1.374, allocations: 0 / 0.7821 GB, free: 105.2 MB / 462.2 MB Notification: Performance of remove unused functions: time 0.004857/1.379, allocations: 1.845 MB / 0.7839 GB, free: 103.4 MB / 462.2 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 (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.0004907/1.38, allocations: 267.7 kB / 0.7842 GB, free: 103.1 MB / 462.2 MB Notification: Performance of simCode: created initialization part: time 0.009846/1.39, allocations: 7.902 MB / 0.7919 GB, free: 95.19 MB / 462.2 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.39, allocations: 0 / 0.7919 GB, free: 95.19 MB / 462.2 MB Notification: Performance of simCode: created simulation system equations: time 0.004766/1.394, allocations: 3.649 MB / 0.7955 GB, free: 91.54 MB / 462.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.398, allocations: 1.087 MB / 0.7965 GB, free: 90.46 MB / 462.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.423, allocations: 18.71 MB / 0.8148 GB, free: 71.73 MB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005344/1.428, allocations: 7.032 MB / 0.8217 GB, free: 64.64 MB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.004961/1.433, allocations: 2.248 MB / 0.8239 GB, free: 62.39 MB / 462.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.434, allocations: 367.4 kB / 0.8242 GB, free: 62.03 MB / 462.2 MB Notification: Performance of SimCode: time 8.02e-07/1.434, allocations: 0 / 0.8242 GB, free: 62.03 MB / 462.2 MB Notification: Performance of Templates: time 0.2463/1.68, allocations: 69.44 MB / 0.892 GB, free: 135.5 MB / 462.2 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/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) Reference file matches