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.001274/0.001274, allocations: 100.1 kB / 17.58 MB, free: 5.418 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.001176/0.001177, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.367/1.367, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001243/0.001243, allocations: 55.92 kB / 280.7 MB, free: 3.137 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08339, allocations: 46.62 MB / 327.3 MB, free: 4.441 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02628/0.1097, allocations: 27.07 MB / 354.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.1244, allocations: 8.008 MB / 362.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.1292, allocations: 167.5 kB / 362.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02044/0.1497, allocations: 9.362 MB / 371.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.1602, allocations: 3.365 MB / 375.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.1657, allocations: 1.828 MB / 377.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.159/0.3247, allocations: 12.18 MB / 389.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02929/0.354, allocations: 24.52 MB / 413.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/0.3754, allocations: 7.816 MB / 421.6 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01526/0.3907, allocations: 7.422 MB / 429.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004718/0.3955, allocations: 1.848 MB / 430.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005928/0.4014, allocations: 2.219 MB / 433.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003656/0.4051, allocations: 3.679 MB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01053/0.4156, allocations: 7.011 MB / 443.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02456/0.4402, allocations: 24.64 MB / 468.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4402, allocations: 0 / 468.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4403, allocations: 0 / 468.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007684/0.441, allocations: 0 / 468.4 MB, free: 2.551 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.04316/0.4842, allocations: 14.73 MB / 483.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4843, allocations: 11.69 kB / 483.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05086/0.5351, allocations: 9.413 MB / 492.6 MB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.5493, allocations: 6.889 MB / 499.5 MB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008678/0.5502, allocations: 0.821 MB / 0.4886 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004162/0.5544, allocations: 1.077 MB / 0.4896 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04532/0.5997, allocations: 18.75 MB / 0.5079 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004354/0.6002, allocations: 15.91 kB / 0.508 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0032/0.6034, allocations: 457.3 kB / 0.5084 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007576/0.6042, allocations: 0.695 MB / 0.5091 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/0.6416, allocations: 18.21 MB / 0.5269 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3837/1.025, allocations: 60.01 MB / 0.5855 GB, free: 111.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02625/1.052, allocations: 46.72 MB / 0.6311 GB, free: 66.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/1.057, allocations: 4.289 MB / 0.6353 GB, free: 63.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/1.073, allocations: 12.39 MB / 0.6474 GB, free: 51.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.074, allocations: 81.52 kB / 0.6475 GB, free: 51.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=385): time 5.871e-06/1.074, allocations: 0 / 0.6475 GB, free: 51.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=391): time 0.03771/1.111, allocations: 19.3 MB / 0.6663 GB, free: 31.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.111, allocations: 94.41 kB / 0.6664 GB, free: 31.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/1.117, allocations: 4.35 MB / 0.6706 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007221/1.118, allocations: 85.7 kB / 0.6707 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.12, allocations: 4.821 MB / 0.6754 GB, free: 22.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00094/1.12, allocations: 1.351 MB / 0.6768 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/1.122, allocations: 1.27 MB / 0.678 GB, free: 19.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/1.122, allocations: 301.1 kB / 0.6783 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/1.126, allocations: 3.12 MB / 0.6813 GB, free: 16.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/1.13, allocations: 5.747 MB / 0.6869 GB, free: 9.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009138/1.139, allocations: 9.443 MB / 0.6962 GB, free: 14.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.693e-05/1.139, allocations: 27.94 kB / 0.6962 GB, free: 14.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01707/1.156, allocations: 10.27 MB / 0.7062 GB, free: 4.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/1.156, allocations: 47.94 kB / 0.7063 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.156, allocations: 84 kB / 0.7063 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/1.16, allocations: 1.461 MB / 0.7078 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/1.165, allocations: 1.458 MB / 0.7092 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1711/1.337, allocations: 11.45 MB / 0.7204 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.341, allocations: 403.3 kB / 0.7208 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/1.342, allocations: 328.5 kB / 0.7211 GB, free: 144.8 MB / 462.1 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.005826/1.348, allocations: 4.18 MB / 0.7252 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/1.349, allocations: 447.9 kB / 0.7256 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.36, allocations: 7.363 MB / 0.7328 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007825/1.367, allocations: 6.027 MB / 0.7387 GB, free: 137.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.367, allocations: 11.31 kB / 0.7387 GB, free: 137.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.367, allocations: 21.14 kB / 0.7387 GB, free: 137.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/1.392, allocations: 16.39 MB / 0.7547 GB, free: 131 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.392, allocations: 3.5 kB / 0.7547 GB, free: 131 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/1.394, allocations: 0.7207 MB / 0.7554 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/1.397, allocations: 1.309 MB / 0.7567 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/1.398, allocations: 87.22 kB / 0.7568 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.409, allocations: 10.19 MB / 0.7667 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.409, allocations: 3.938 kB / 0.7667 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.422, allocations: 10.53 MB / 0.777 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.424, allocations: 1.038 MB / 0.778 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/1.424, allocations: 72 kB / 0.7781 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.427, allocations: 255.7 kB / 0.7783 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005476/1.427, allocations: 273.4 kB / 0.7786 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.427, allocations: 116 kB / 0.7787 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003051/1.43, allocations: 2.904 MB / 0.7815 GB, free: 105.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.43, allocations: 4 kB / 0.7816 GB, free: 105.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004645/1.435, allocations: 1.849 MB / 0.7834 GB, free: 103.5 MB / 462.1 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.0004744/1.435, allocations: 257.2 kB / 0.7836 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02498/1.46, allocations: 14.22 MB / 0.7975 GB, free: 89.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.461, allocations: 0 / 0.7975 GB, free: 89.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00533/1.466, allocations: 3.638 MB / 0.801 GB, free: 85.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.47, allocations: 1.096 MB / 0.8021 GB, free: 84.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.496, allocations: 18.94 MB / 0.8206 GB, free: 65.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006062/1.502, allocations: 7.036 MB / 0.8275 GB, free: 58.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005464/1.507, allocations: 2.244 MB / 0.8297 GB, free: 56.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.508, allocations: 363.4 kB / 0.83 GB, free: 55.68 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/1.508, allocations: 3.938 kB / 0.83 GB, free: 55.67 MB / 462.1 MB Notification: Performance of Templates: time 0.2708/1.779, allocations: 75.3 MB / 0.9035 GB, free: 121.5 MB / 462.1 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 -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/jenkins/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/jenkins/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