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.001443/0.001443, allocations: 100.6 kB / 17.93 MB, free: 5.41 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.001436/0.001436, allocations: 193.8 kB / 18.86 MB, free: 4.484 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.502/1.502, allocations: 205.1 MB / 224.7 MB, free: 12.43 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.001176/0.001176, allocations: 44.16 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 46.63 MB / 327.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02636/0.1339, allocations: 26.61 MB / 354.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.1525, allocations: 7.9 MB / 362 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007939/0.1605, allocations: 159.4 kB / 362.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02246/0.1831, allocations: 8.881 MB / 371 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.1957, allocations: 3.065 MB / 374.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006358/0.2021, allocations: 1.7 MB / 375.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2618/0.4639, allocations: 12.23 MB / 388 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04337/0.5073, allocations: 28.14 MB / 416.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01444/0.5218, allocations: 6.689 MB / 422.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/0.5355, allocations: 7.375 MB / 430.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006083/0.5416, allocations: 1.848 MB / 432 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.5518, allocations: 2.221 MB / 434.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0108/0.5627, allocations: 3.992 MB / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01782/0.5805, allocations: 7.009 MB / 445.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02532/0.6058, allocations: 21.67 MB / 466.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6059, allocations: 0 / 466.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.6059, allocations: 0 / 466.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007371/0.6066, allocations: 0 / 466.9 MB, free: 3.234 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.04775/0.6544, allocations: 14.75 MB / 481.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.6545, allocations: 12.03 kB / 481.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05138/0.7059, allocations: 9.417 MB / 491.1 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01816/0.7241, allocations: 6.882 MB / 498 MB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009375/0.725, allocations: 0.824 MB / 498.8 MB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005763/0.7308, allocations: 1.076 MB / 499.9 MB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05359/0.7844, allocations: 18.76 MB / 0.5065 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004939/0.785, allocations: 15.91 kB / 0.5065 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005114/0.7901, allocations: 456.8 kB / 0.507 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007914/0.7909, allocations: 0.6988 MB / 0.5076 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04263/0.8335, allocations: 18.22 MB / 0.5254 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3692/1.203, allocations: 59.99 MB / 0.584 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03233/1.235, allocations: 46.73 MB / 0.6297 GB, free: 69.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006945/1.242, allocations: 4.32 MB / 0.6339 GB, free: 66.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/1.261, allocations: 12.48 MB / 0.6461 GB, free: 54.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/1.261, allocations: 73.61 kB / 0.6461 GB, free: 54.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 6.402e-06/1.261, allocations: 4 kB / 0.6461 GB, free: 54.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04065/1.302, allocations: 19.42 MB / 0.6651 GB, free: 34.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.302, allocations: 94.5 kB / 0.6652 GB, free: 34.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006055/1.308, allocations: 4.338 MB / 0.6694 GB, free: 30.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006962/1.309, allocations: 93.7 kB / 0.6695 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.311, allocations: 4.815 MB / 0.6742 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.313, allocations: 1.366 MB / 0.6755 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.315, allocations: 1.274 MB / 0.6768 GB, free: 22.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/1.315, allocations: 309 kB / 0.6771 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/1.319, allocations: 3.147 MB / 0.6802 GB, free: 19.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005216/1.324, allocations: 5.774 MB / 0.6858 GB, free: 12.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.335, allocations: 9.514 MB / 0.6951 GB, free: 1.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.433e-05/1.335, allocations: 24 kB / 0.6951 GB, free: 1.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02311/1.358, allocations: 10.33 MB / 0.7052 GB, free: 7.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.358, allocations: 44 kB / 0.7052 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/1.358, allocations: 84 kB / 0.7053 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/1.363, allocations: 1.422 MB / 0.7067 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/1.369, allocations: 1.458 MB / 0.7081 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2964/1.666, allocations: 11.33 MB / 0.7192 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/1.672, allocations: 401.7 kB / 0.7196 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.673, allocations: 328.8 kB / 0.7199 GB, free: 148.7 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 prepare postOptimizeDAE: time 0.01152/1.685, allocations: 4.185 MB / 0.724 GB, free: 146.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.687, allocations: 447.4 kB / 0.7244 GB, free: 146.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.701, allocations: 7.408 MB / 0.7316 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00896/1.71, allocations: 6.083 MB / 0.7376 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/1.71, allocations: 11.5 kB / 0.7376 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.73e-05/1.71, allocations: 21.94 kB / 0.7376 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.737, allocations: 16.45 MB / 0.7537 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.737, allocations: 7.875 kB / 0.7537 GB, free: 135.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/1.74, allocations: 0.7186 MB / 0.7544 GB, free: 135 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/1.744, allocations: 1.257 MB / 0.7556 GB, free: 134.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004127/1.744, allocations: 88.47 kB / 0.7557 GB, free: 134.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.757, allocations: 10.05 MB / 0.7655 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.757, allocations: 0 / 0.7655 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.772, allocations: 10.63 MB / 0.7759 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.775, allocations: 1.042 MB / 0.7769 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.776, allocations: 76.06 kB / 0.777 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.779, allocations: 247.7 kB / 0.7772 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/1.779, allocations: 267.5 kB / 0.7775 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002781/1.78, allocations: 120 kB / 0.7776 GB, free: 113.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004544/1.784, allocations: 2.901 MB / 0.7804 GB, free: 110.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.784, allocations: 4 kB / 0.7804 GB, free: 110.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00764/1.792, allocations: 1.845 MB / 0.7822 GB, free: 108.8 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 (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.001049/1.793, allocations: 269.2 kB / 0.7825 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02977/1.823, allocations: 14.49 MB / 0.7966 GB, free: 94.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.823, allocations: 4 kB / 0.7966 GB, free: 94.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006843/1.83, allocations: 3.688 MB / 0.8002 GB, free: 90.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006998/1.837, allocations: 1.09 MB / 0.8013 GB, free: 89.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/1.88, allocations: 23.3 MB / 0.8241 GB, free: 65.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.89, allocations: 6.826 MB / 0.8307 GB, free: 59.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/1.892, allocations: 423.3 kB / 0.8311 GB, free: 58.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/1.892, allocations: 0 / 0.8311 GB, free: 58.65 MB / 462.1 MB Notification: Performance of Templates: time 0.4156/2.307, allocations: 179.6 MB / 1.006 GB, free: 38.03 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/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","../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