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.001737/0.001737, allocations: 110 kB / 18.4 MB, free: 4.699 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.001772/0.001772, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.521/1.521, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001836/0.001837, allocations: 63.91 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1065, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2798/0.3864, allocations: 27.08 MB / 402.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.4115, allocations: 7.997 MB / 410.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009038/0.4206, allocations: 166.8 kB / 411.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02629/0.447, allocations: 9.433 MB / 420.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.4644, allocations: 3.414 MB / 423.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008031/0.4724, allocations: 1.842 MB / 425.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02268/0.4951, allocations: 12.28 MB / 438.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04841/0.5436, allocations: 24.42 MB / 462.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0138/0.5574, allocations: 6.538 MB / 469 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/0.5717, allocations: 7.269 MB / 476.3 MB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006754/0.5785, allocations: 1.848 MB / 478.1 MB, free: 9.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.5891, allocations: 2.218 MB / 480.4 MB, free: 6.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0085/0.5976, allocations: 3.663 MB / 484 MB, free: 3.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01821/0.6159, allocations: 7.008 MB / 491 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03807/0.654, allocations: 24.77 MB / 0.5037 GB, free: 3.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.654, allocations: 0 / 0.5037 GB, free: 3.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6541, allocations: 0 / 0.5037 GB, free: 3.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008103/0.6549, allocations: 0 / 0.5037 GB, free: 3.324 MB / 430.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.05213/0.707, allocations: 14.66 MB / 0.518 GB, free: 4.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7071, allocations: 8.031 kB / 0.518 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05395/0.7611, allocations: 9.471 MB / 0.5273 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/0.7787, allocations: 6.903 MB / 0.534 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008006/0.7796, allocations: 0.8149 MB / 0.5348 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005485/0.7851, allocations: 1.074 MB / 0.5359 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4878/1.273, allocations: 18.74 MB / 0.5542 GB, free: 134.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/1.273, allocations: 12.94 kB / 0.5542 GB, free: 134.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004867/1.278, allocations: 453.2 kB / 0.5546 GB, free: 134.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/1.28, allocations: 0.698 MB / 0.5553 GB, free: 134.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04893/1.329, allocations: 18.22 MB / 0.5731 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09955/1.428, allocations: 59.35 MB / 0.631 GB, free: 80.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02936/1.458, allocations: 46.74 MB / 0.6767 GB, free: 28.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006653/1.464, allocations: 4.273 MB / 0.6809 GB, free: 24.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/1.481, allocations: 12.35 MB / 0.6929 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.481, allocations: 77.58 kB / 0.693 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.791e-06/1.481, allocations: 0 / 0.693 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04185/1.523, allocations: 19.3 MB / 0.7118 GB, free: 8.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.523, allocations: 90.47 kB / 0.7119 GB, free: 8.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/1.53, allocations: 4.339 MB / 0.7162 GB, free: 3.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.531, allocations: 93.69 kB / 0.7163 GB, free: 3.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004189/1.536, allocations: 4.823 MB / 0.721 GB, free: 14.91 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.538, allocations: 1.358 MB / 0.7223 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/1.54, allocations: 1.266 MB / 0.7235 GB, free: 12.28 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.54, allocations: 305.1 kB / 0.7238 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/1.544, allocations: 3.12 MB / 0.7269 GB, free: 8.855 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006764/1.551, allocations: 5.739 MB / 0.7325 GB, free: 1.895 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.564, allocations: 9.45 MB / 0.7417 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-05/1.564, allocations: 27.94 kB / 0.7417 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2851/1.849, allocations: 10.27 MB / 0.7518 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/1.849, allocations: 42.22 kB / 0.7518 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/1.85, allocations: 89.53 kB / 0.7519 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004264/1.854, allocations: 1.442 MB / 0.7533 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/1.86, allocations: 1.459 MB / 0.7547 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01825/1.879, allocations: 11.45 MB / 0.7659 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006102/1.885, allocations: 393.7 kB / 0.7663 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.886, allocations: 332.1 kB / 0.7666 GB, free: 159 MB / 0.5138 GB 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.008867/1.895, allocations: 4.18 MB / 0.7707 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.896, allocations: 444.1 kB / 0.7711 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.909, allocations: 7.352 MB / 0.7783 GB, free: 154.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009116/1.919, allocations: 6.035 MB / 0.7842 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.919, allocations: 11.62 kB / 0.7842 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/1.919, allocations: 19.08 kB / 0.7842 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.944, allocations: 16.34 MB / 0.8002 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.944, allocations: 0.75 kB / 0.8002 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/1.947, allocations: 0.7283 MB / 0.8009 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/1.951, allocations: 1.298 MB / 0.8021 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006233/1.951, allocations: 87.5 kB / 0.8022 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.964, allocations: 10.18 MB / 0.8122 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.964, allocations: 3.938 kB / 0.8122 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.979, allocations: 10.54 MB / 0.8225 GB, free: 125.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.981, allocations: 1.04 MB / 0.8235 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.982, allocations: 72 kB / 0.8235 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.985, allocations: 255.8 kB / 0.8238 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/1.986, allocations: 267.5 kB / 0.824 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.986, allocations: 116 kB / 0.8241 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003986/1.99, allocations: 2.904 MB / 0.827 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.9e-07/1.99, allocations: 0 / 0.827 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007409/1.997, allocations: 1.845 MB / 0.8288 GB, free: 119.3 MB / 0.5138 GB 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.0009655/1.998, allocations: 268.6 kB / 0.829 GB, free: 119 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01199/2.01, allocations: 7.911 MB / 0.8368 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.01, allocations: 4 kB / 0.8368 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006264/2.017, allocations: 3.64 MB / 0.8403 GB, free: 107.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/2.023, allocations: 1.102 MB / 0.8414 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03173/2.055, allocations: 18.43 MB / 0.8594 GB, free: 87.95 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006832/2.062, allocations: 6.83 MB / 0.8661 GB, free: 81.07 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/2.064, allocations: 423.3 kB / 0.8665 GB, free: 80.66 MB / 0.5138 GB Notification: Performance of SimCode: time 1.382e-06/2.064, allocations: 0 / 0.8665 GB, free: 80.66 MB / 0.5138 GB Notification: Performance of Templates: time 0.4465/2.51, allocations: 180.2 MB / 1.042 GB, free: 88.13 MB / 0.5138 GB 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 -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