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.001104/0.001104, allocations: 100.5 kB / 16.96 MB, free: 6.449 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.001578/0.001579, allocations: 184.4 kB / 17.84 MB, free: 6.004 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.725/1.725, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004597/0.0004598, allocations: 8 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 47.58 MB / 328.4 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02401/0.1409, allocations: 23.56 MB / 352 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01981/0.1607, allocations: 7.361 MB / 359.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006563/0.1673, allocations: 159.4 kB / 359.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006735/0.1741, allocations: 1.484 MB / 361 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.186, allocations: 2.784 MB / 363.7 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.1924, allocations: 1.271 MB / 365 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02307/0.2155, allocations: 14.79 MB / 379.8 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2775/0.493, allocations: 19.88 MB / 399.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.5037, allocations: 4.835 MB / 404.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.5142, allocations: 5.386 MB / 409.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003625/0.5179, allocations: 0.7209 MB / 410.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/0.5254, allocations: 1.068 MB / 411.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00469/0.5302, allocations: 2.274 MB / 414 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005153/0.5353, allocations: 2.342 MB / 416.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02119/0.5565, allocations: 20.93 MB / 437.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5566, allocations: 4 kB / 437.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5566, allocations: 0 / 437.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007475/0.5574, allocations: 0 / 437.2 MB, free: 9.859 MB / 334.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.03684/0.5942, allocations: 12.39 MB / 449.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5943, allocations: 8.031 kB / 449.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04988/0.6442, allocations: 9.466 MB / 459.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.6604, allocations: 6.811 MB / 465.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008962/0.6613, allocations: 0.8276 MB / 466.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005189/0.6665, allocations: 1.071 MB / 467.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05038/0.7169, allocations: 18.69 MB / 486.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/0.7174, allocations: 10.34 kB / 486.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004171/0.7216, allocations: 461 kB / 487 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007575/0.7223, allocations: 0.6988 MB / 487.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04121/0.7636, allocations: 18.14 MB / 0.4939 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4949/1.258, allocations: 60.13 MB / 0.5527 GB, free: 93.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03131/1.29, allocations: 46.68 MB / 0.5982 GB, free: 53.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007092/1.297, allocations: 4.324 MB / 0.6025 GB, free: 53.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02477/1.322, allocations: 12.47 MB / 0.6146 GB, free: 48.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/1.322, allocations: 72.92 kB / 0.6147 GB, free: 48.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=391): time 6.252e-06/1.322, allocations: 3.938 kB / 0.6147 GB, free: 48.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=397): time 0.05192/1.374, allocations: 21.51 MB / 0.6357 GB, free: 36.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.374, allocations: 94.61 kB / 0.6358 GB, free: 36.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/1.381, allocations: 4.303 MB / 0.64 GB, free: 33.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009553/1.382, allocations: 89.7 kB / 0.6401 GB, free: 33.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002859/1.385, allocations: 4.818 MB / 0.6448 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.387, allocations: 1.371 MB / 0.6461 GB, free: 26.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/1.387, allocations: 135.9 kB / 0.6463 GB, free: 26.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003153/1.387, allocations: 0.559 MB / 0.6468 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.392, allocations: 3.14 MB / 0.6499 GB, free: 22.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/1.397, allocations: 5.764 MB / 0.6555 GB, free: 15.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005823/1.403, allocations: 4.412 MB / 0.6598 GB, free: 11.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-05/1.403, allocations: 24 kB / 0.6598 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01662/1.42, allocations: 10.29 MB / 0.6699 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/1.42, allocations: 40 kB / 0.6699 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.42, allocations: 88 kB / 0.67 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/1.423, allocations: 1.411 MB / 0.6714 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/1.429, allocations: 1.462 MB / 0.6728 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.445, allocations: 10.57 MB / 0.6831 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005199/1.45, allocations: 403.3 kB / 0.6835 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.451, allocations: 328 kB / 0.6838 GB, free: 2.793 MB / 446.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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008854/1.46, allocations: 4.183 MB / 0.6879 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.462, allocations: 450.4 kB / 0.6884 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.475, allocations: 7.411 MB / 0.6956 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009776/1.485, allocations: 6.067 MB / 0.7015 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.485, allocations: 12 kB / 0.7015 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-05/1.485, allocations: 23.91 kB / 0.7016 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2936/1.779, allocations: 16.45 MB / 0.7176 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.779, allocations: 0 / 0.7176 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/1.782, allocations: 0.7296 MB / 0.7183 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/1.785, allocations: 1.244 MB / 0.7195 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007076/1.786, allocations: 87.14 kB / 0.7196 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.798, allocations: 9.307 MB / 0.7287 GB, free: 135.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.798, allocations: 0 / 0.7287 GB, free: 135.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.814, allocations: 10.61 MB / 0.7391 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/1.817, allocations: 1.066 MB / 0.7401 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.819, allocations: 75.55 kB / 0.7402 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/1.821, allocations: 255.1 kB / 0.7404 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/1.822, allocations: 271.1 kB / 0.7407 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.822, allocations: 115.5 kB / 0.7408 GB, free: 130.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004441/1.827, allocations: 2.875 MB / 0.7436 GB, free: 129.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.827, allocations: 0 / 0.7436 GB, free: 129.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006967/1.834, allocations: 1.842 MB / 0.7454 GB, free: 129.4 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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007621/1.835, allocations: 258.5 kB / 0.7457 GB, free: 129.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.846, allocations: 7.971 MB / 0.7534 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.846, allocations: 0 / 0.7534 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005886/1.852, allocations: 3.687 MB / 0.757 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/1.857, allocations: 1.052 MB / 0.7581 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.889, allocations: 22.61 MB / 0.7801 GB, free: 98.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006974/1.896, allocations: 7.032 MB / 0.787 GB, free: 91.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006056/1.902, allocations: 2.24 MB / 0.7892 GB, free: 88.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009924/1.903, allocations: 367.4 kB / 0.7896 GB, free: 88.61 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/1.903, allocations: 0 / 0.7896 GB, free: 88.61 MB / 462.1 MB Notification: Performance of Templates: time 0.1039/2.007, allocations: 70.27 MB / 0.8582 GB, free: 18.3 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","../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