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.001164/0.001164, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001088/0.001088, allocations: 191 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.471/1.471, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001222/0.001222, allocations: 55.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08893, allocations: 46.63 MB / 328.8 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02661/0.1156, allocations: 27.08 MB / 355.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.1312, allocations: 7.997 MB / 363.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.1358, allocations: 167.5 kB / 364 MB, free: 336 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01997/0.1558, allocations: 9.362 MB / 373.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1659, allocations: 3.369 MB / 376.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005455/0.1714, allocations: 1.829 MB / 378.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1815/0.3529, allocations: 12.27 MB / 390.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03604/0.389, allocations: 24.43 MB / 415.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02494/0.414, allocations: 7.835 MB / 423.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.428, allocations: 7.271 MB / 430.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005483/0.4335, allocations: 1.852 MB / 432.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009218/0.4428, allocations: 2.206 MB / 434.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006957/0.4497, allocations: 3.67 MB / 438.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01416/0.4639, allocations: 7.01 MB / 445.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02779/0.4918, allocations: 24.76 MB / 469.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4918, allocations: 3.938 kB / 469.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4918, allocations: 0 / 469.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006819/0.4925, allocations: 0 / 469.9 MB, free: 1.922 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.04755/0.5401, allocations: 14.67 MB / 484.5 MB, free: 3.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5401, allocations: 8.031 kB / 484.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05347/0.5936, allocations: 9.466 MB / 494 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.6116, allocations: 6.899 MB / 0.4892 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000763/0.6124, allocations: 0.8215 MB / 0.49 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004278/0.6167, allocations: 1.073 MB / 0.491 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04522/0.6619, allocations: 18.74 MB / 0.5093 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006382/0.6626, allocations: 15.91 kB / 0.5093 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005105/0.6677, allocations: 460.8 kB / 0.5098 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009791/0.6687, allocations: 0.6949 MB / 0.5105 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04063/0.7093, allocations: 18.22 MB / 0.5282 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4252/1.135, allocations: 59.34 MB / 0.5862 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02794/1.163, allocations: 46.72 MB / 0.6318 GB, free: 65.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005624/1.168, allocations: 4.287 MB / 0.636 GB, free: 63.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/1.187, allocations: 12.36 MB / 0.6481 GB, free: 51.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.187, allocations: 73.42 kB / 0.6482 GB, free: 51.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=385): time 5e-06/1.187, allocations: 0 / 0.6482 GB, free: 51.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=391): time 0.03894/1.226, allocations: 19.3 MB / 0.667 GB, free: 31.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/1.226, allocations: 98.41 kB / 0.6671 GB, free: 31.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/1.232, allocations: 4.346 MB / 0.6713 GB, free: 27.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005442/1.232, allocations: 85.7 kB / 0.6714 GB, free: 27.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.234, allocations: 4.827 MB / 0.6761 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.235, allocations: 1.342 MB / 0.6774 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.237, allocations: 1.27 MB / 0.6787 GB, free: 19.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.53e-05/1.237, allocations: 312.1 kB / 0.679 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/1.24, allocations: 3.12 MB / 0.682 GB, free: 16.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/1.245, allocations: 5.736 MB / 0.6876 GB, free: 9.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009905/1.255, allocations: 9.446 MB / 0.6969 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-05/1.255, allocations: 28 kB / 0.6969 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02066/1.276, allocations: 10.27 MB / 0.7069 GB, free: 4.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.276, allocations: 43.94 kB / 0.707 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/1.276, allocations: 88.38 kB / 0.707 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/1.28, allocations: 1.445 MB / 0.7084 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006458/1.287, allocations: 1.466 MB / 0.7099 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.187/1.474, allocations: 11.45 MB / 0.7211 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/1.479, allocations: 399.5 kB / 0.7214 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/1.481, allocations: 328.8 kB / 0.7218 GB, free: 144.4 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.007973/1.489, allocations: 4.178 MB / 0.7258 GB, free: 142.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.49, allocations: 446.1 kB / 0.7263 GB, free: 142.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.502, allocations: 7.356 MB / 0.7334 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008847/1.511, allocations: 6.027 MB / 0.7393 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/1.511, allocations: 10.5 kB / 0.7393 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/1.511, allocations: 19.02 kB / 0.7394 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02757/1.538, allocations: 16.34 MB / 0.7553 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.538, allocations: 1.734 kB / 0.7553 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/1.541, allocations: 0.7235 MB / 0.756 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/1.545, allocations: 1.298 MB / 0.7573 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006734/1.546, allocations: 87.22 kB / 0.7574 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/1.558, allocations: 10.18 MB / 0.7673 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.558, allocations: 7.844 kB / 0.7673 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.573, allocations: 10.53 MB / 0.7776 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/1.575, allocations: 1.044 MB / 0.7786 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.576, allocations: 71.98 kB / 0.7787 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/1.579, allocations: 249.9 kB / 0.7789 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008092/1.58, allocations: 275.4 kB / 0.7792 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.58, allocations: 115.6 kB / 0.7793 GB, free: 108 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003951/1.584, allocations: 2.904 MB / 0.7821 GB, free: 105.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.584, allocations: 0 / 0.7821 GB, free: 105.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006555/1.591, allocations: 1.853 MB / 0.784 GB, free: 103.3 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.0008578/1.592, allocations: 264 kB / 0.7842 GB, free: 103 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01183/1.604, allocations: 7.913 MB / 0.7919 GB, free: 95.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.604, allocations: 0 / 0.7919 GB, free: 95.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006735/1.61, allocations: 3.63 MB / 0.7955 GB, free: 91.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.615, allocations: 1.09 MB / 0.7965 GB, free: 90.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.643, allocations: 18.72 MB / 0.8148 GB, free: 71.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007781/1.651, allocations: 7.032 MB / 0.8217 GB, free: 64.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005476/1.657, allocations: 2.244 MB / 0.8239 GB, free: 62.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.658, allocations: 367.4 kB / 0.8242 GB, free: 61.95 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/1.658, allocations: 0 / 0.8242 GB, free: 61.95 MB / 462.1 MB Notification: Performance of Templates: time 0.2732/1.931, allocations: 69.45 MB / 0.8921 GB, free: 135.6 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 -s gbode -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