Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.000906, allocations: 96.44 kB / 16.93 MB, free: 5.984 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.0009218/0.0009222, allocations: 180.7 kB / 17.82 MB, free: 5.652 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.437/1.437, 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.0004761/0.0004761, allocations: 19.28 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1001, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01444/0.1146, allocations: 12.21 MB / 340.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1262, allocations: 4.872 MB / 345.4 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.1291, allocations: 83.62 kB / 345.5 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.1317, allocations: 0.9094 MB / 346.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.1356, allocations: 1.305 MB / 347.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.1376, allocations: 0.6899 MB / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004465/0.142, allocations: 2.5 MB / 350.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.1448, allocations: 2.271 MB / 353.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.1468, allocations: 1.164 MB / 354.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.1486, allocations: 1.451 MB / 355.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.149, allocations: 196 kB / 356 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009826/0.15, allocations: 363.8 kB / 356.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.1507, allocations: 0.7592 MB / 357.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.1515, allocations: 0.6991 MB / 357.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.1567, allocations: 5.014 MB / 362.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1567, allocations: 0 / 362.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-06/0.1567, allocations: 3.984 kB / 362.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.1569, allocations: 0 / 362.8 MB, free: 1.469 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008337/0.1652, allocations: 3.587 MB / 366.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1653, allocations: 16.03 kB / 366.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.168, allocations: 0.6202 MB / 367 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.1719, allocations: 2.05 MB / 369.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.1721, allocations: 246.3 kB / 369.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.1726, allocations: 308 kB / 369.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006606/0.1792, allocations: 3.992 MB / 373.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/0.1793, allocations: 7.906 kB / 373.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/0.1795, allocations: 128 kB / 373.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.1797, allocations: 150.2 kB / 373.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005504/0.1852, allocations: 3.347 MB / 377.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/0.4077, allocations: 13.3 MB / 390.5 MB, free: 42.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.4118, allocations: 3.956 MB / 394.5 MB, free: 39.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005465/0.4173, allocations: 2.649 MB / 397.1 MB, free: 37.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.4174, allocations: 49.11 kB / 397.2 MB, free: 37.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=113): time 5.5e-06/0.4174, allocations: 0 / 397.2 MB, free: 37.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.01169/0.4291, allocations: 6.075 MB / 403.3 MB, free: 34.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4292, allocations: 72.45 kB / 403.3 MB, free: 34.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.4316, allocations: 1.793 MB / 405.1 MB, free: 33.1 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.4317, allocations: 55.73 kB / 405.2 MB, free: 33.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009225/0.4327, allocations: 1.508 MB / 406.7 MB, free: 31.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.433, allocations: 0.5022 MB / 407.2 MB, free: 31.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.4331, allocations: 35.03 kB / 407.2 MB, free: 31.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4332, allocations: 383.7 kB / 407.6 MB, free: 30.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.4343, allocations: 0.7769 MB / 408.4 MB, free: 30.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4357, allocations: 1.368 MB / 409.7 MB, free: 29.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.437, allocations: 1.024 MB / 410.8 MB, free: 28.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.437, allocations: 5.094 kB / 410.8 MB, free: 28.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003429/0.4405, allocations: 2.488 MB / 413.3 MB, free: 27.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.4405, allocations: 16 kB / 413.3 MB, free: 27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.4406, allocations: 17.64 kB / 413.3 MB, free: 26.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.4409, allocations: 130.5 kB / 413.4 MB, free: 26.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.4426, allocations: 499.3 kB / 413.9 MB, free: 26.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/0.4435, allocations: 1.319 MB / 415.2 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4449, allocations: 111.8 kB / 415.3 MB, free: 24.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.445, allocations: 83.98 kB / 415.4 MB, free: 24.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (236): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001772/0.4468, allocations: 0.9814 MB / 416.4 MB, free: 23.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.4472, allocations: 201.5 kB / 416.6 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.4501, allocations: 2.008 MB / 418.6 MB, free: 21.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.4501, allocations: 15.98 kB / 418.6 MB, free: 21.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4501, allocations: 4 kB / 418.6 MB, free: 21.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4501, allocations: 3.984 kB / 418.6 MB, free: 21.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.4574, allocations: 5.04 MB / 423.7 MB, free: 16.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4574, allocations: 0 / 423.7 MB, free: 16.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.4588, allocations: 323.8 kB / 424 MB, free: 16.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.4591, allocations: 98.45 kB / 424.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4592, allocations: 32 kB / 424.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/0.4598, allocations: 1.295 MB / 425.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4599, allocations: 4 kB / 425.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.4636, allocations: 3.265 MB / 428.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.4647, allocations: 462.4 kB / 429.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.465, allocations: 28 kB / 429.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/0.4659, allocations: 79.91 kB / 429.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.4661, allocations: 97.2 kB / 429.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.4661, allocations: 39.98 kB / 429.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001659/0.4678, allocations: 1.21 MB / 430.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4678, allocations: 0 / 430.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001881/0.4697, allocations: 0.5312 MB / 431.1 MB, free: 8.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/0.4701, allocations: 165.1 kB / 431.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.473, allocations: 2.24 MB / 433.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.4731, allocations: 0 / 433.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.4744, allocations: 1.207 MB / 434.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4767, allocations: 472.6 kB / 435.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.4868, allocations: 6.75 MB / 441.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.4891, allocations: 2.325 MB / 444.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002067/0.4911, allocations: 0.5014 MB / 444.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/0.4916, allocations: 155.4 kB / 444.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4916, allocations: 0 / 444.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.04798/0.5396, allocations: 23.52 MB / 468.4 MB, free: 3.07 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches