Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.02 kB / 16.95 MB, free: 6.453 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.001364/0.001364, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.349/1.349, allocations: 205.4 MB / 224 MB, free: 13.14 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.0007684/0.0007686, allocations: 12 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.113, 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.SynchronousMachines.SMPM_OpenCircuit): time 0.0276/0.1407, allocations: 26.51 MB / 354.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.1577, allocations: 8.015 MB / 362.9 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004757/0.1625, allocations: 159.5 kB / 363.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.1671, allocations: 1.251 MB / 364.3 MB, free: 0 / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008605/0.1757, allocations: 2.43 MB / 366.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.1802, allocations: 1.06 MB / 367.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.1956, allocations: 9.939 MB / 377.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2037/0.3994, allocations: 9.973 MB / 387.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007189/0.4066, allocations: 3.13 MB / 390.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008691/0.4153, allocations: 3.634 MB / 394.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003029/0.4184, allocations: 478 kB / 394.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/0.4243, allocations: 0.7993 MB / 395.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.4268, allocations: 1.562 MB / 397.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.4302, allocations: 1.594 MB / 398.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4413, allocations: 13.11 MB / 412 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4414, allocations: 0 / 412 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4414, allocations: 0 / 412 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003815/0.4418, allocations: 0 / 412 MB, free: 6.586 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02184/0.4636, allocations: 8.262 MB / 420.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4637, allocations: 10.69 kB / 420.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02821/0.4919, allocations: 5.275 MB / 425.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.5031, allocations: 4.57 MB / 430.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000634/0.5037, allocations: 0.5321 MB / 430.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002956/0.5067, allocations: 0.7047 MB / 431.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/0.5376, allocations: 11.26 MB / 442.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004519/0.5381, allocations: 23.8 kB / 442.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003074/0.5412, allocations: 302.5 kB / 442.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006659/0.5419, allocations: 446.3 kB / 443.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5689, allocations: 10.75 MB / 454.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.6398, allocations: 38.09 MB / 492.2 MB, free: 36 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/0.6609, allocations: 28.08 MB / 0.5081 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/0.6656, allocations: 2.637 MB / 0.5107 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01465/0.6803, allocations: 7.954 MB / 0.5184 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.242e-05/0.6804, allocations: 56.56 kB / 0.5185 GB, free: 5.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 6.252e-06/0.6805, allocations: 0 / 0.5185 GB, free: 5.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.02526/0.7057, allocations: 11.07 MB / 0.5293 GB, free: 10.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002137/0.7079, allocations: 1.921 MB / 0.5312 GB, free: 8.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007712/0.7156, allocations: 3.787 MB / 0.5349 GB, free: 4.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004926/0.7162, allocations: 65.7 kB / 0.5349 GB, free: 4.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002855/0.719, allocations: 3.548 MB / 0.5384 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.7203, allocations: 0.8257 MB / 0.5392 GB, free: 112 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.7208, allocations: 96 kB / 0.5393 GB, free: 16 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1974/0.9182, allocations: 0.4933 MB / 0.5398 GB, free: 150.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.922, allocations: 1.872 MB / 0.5416 GB, free: 150.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.9257, allocations: 4.369 MB / 0.5459 GB, free: 147.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/0.9299, allocations: 2.821 MB / 0.5486 GB, free: 147 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.714e-05/0.93, allocations: 23.97 kB / 0.5487 GB, free: 147 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01156/0.9416, allocations: 6.946 MB / 0.5554 GB, free: 144.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.9417, allocations: 47.19 kB / 0.5555 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/0.9419, allocations: 89.08 kB / 0.5556 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.9439, allocations: 0.7531 MB / 0.5563 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/0.9476, allocations: 1.115 MB / 0.5574 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.9546, allocations: 5.214 MB / 0.5625 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/0.9592, allocations: 306.6 kB / 0.5628 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007802/0.96, allocations: 273.7 kB / 0.563 GB, free: 140.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005837/0.9659, allocations: 2.53 MB / 0.5655 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/0.9667, allocations: 390.1 kB / 0.5659 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/0.9732, allocations: 4.255 MB / 0.57 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.9733, allocations: 22.22 kB / 0.5701 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.9733, allocations: 11.44 kB / 0.5701 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.9733, allocations: 21.78 kB / 0.5701 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.9915, allocations: 14.26 MB / 0.584 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.9915, allocations: 12 kB / 0.584 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.9931, allocations: 481.2 kB / 0.5845 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.9948, allocations: 0.6976 MB / 0.5852 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.995, allocations: 67.75 kB / 0.5852 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006774/1.002, allocations: 6.943 MB / 0.592 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001301/1.003, allocations: 1.858 MB / 0.5938 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008722/1.012, allocations: 6.704 MB / 0.6004 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.014, allocations: 0.8004 MB / 0.6012 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006592/1.015, allocations: 62.06 kB / 0.6012 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.016, allocations: 170.3 kB / 0.6014 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.017, allocations: 221.5 kB / 0.6016 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.017, allocations: 95.97 kB / 0.6017 GB, free: 112.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00368/1.021, allocations: 2.474 MB / 0.6041 GB, free: 110.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.021, allocations: 0 / 0.6041 GB, free: 110.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006417/1.027, allocations: 1.296 MB / 0.6054 GB, free: 109 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006227/1.028, allocations: 223.8 kB / 0.6056 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008005/1.036, allocations: 5.105 MB / 0.6106 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.036, allocations: 0 / 0.6106 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/1.039, allocations: 2.414 MB / 0.6129 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.043, allocations: 0.9441 MB / 0.6138 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.062, allocations: 14.77 MB / 0.6283 GB, free: 85.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.066, allocations: 4.493 MB / 0.6326 GB, free: 80.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004179/1.07, allocations: 1.36 MB / 0.634 GB, free: 79.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/1.071, allocations: 295.4 kB / 0.6343 GB, free: 79.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/1.071, allocations: 4 kB / 0.6343 GB, free: 79.14 MB / 446.1 MB Notification: Performance of Templates: time 0.07978/1.151, allocations: 52.8 MB / 0.6858 GB, free: 26.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_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/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches