Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 118.2 kB / 17.79 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.08 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2362, allocations: 50.55 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02844/0.2647, allocations: 30.97 MB / 440.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2816, allocations: 8.888 MB / 449.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006726/0.2884, allocations: 191.4 kB / 449.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.3006, allocations: 4.921 MB / 454.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.3107, allocations: 2.968 MB / 457.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.3159, allocations: 1.625 MB / 458.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01209/0.328, allocations: 8.817 MB / 467.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.3447, allocations: 12.86 MB / 480.5 MB, free: 10.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006784/0.3516, allocations: 4.215 MB / 484.7 MB, free: 5.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008501/0.3601, allocations: 4.835 MB / 489.6 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003135/0.3633, allocations: 1.164 MB / 490.7 MB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.3686, allocations: 1.546 MB / 492.3 MB, free: 14.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00294/0.3715, allocations: 2.404 MB / 494.7 MB, free: 11.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.3789, allocations: 4.68 MB / 499.4 MB, free: 7.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.3982, allocations: 15.89 MB / 0.5032 GB, free: 7.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3982, allocations: 4 kB / 0.5032 GB, free: 7.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3982, allocations: 0 / 0.5032 GB, free: 7.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004108/0.3986, allocations: 0 / 0.5032 GB, free: 7.211 MB / 430.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.03053/0.4292, allocations: 9.971 MB / 0.5129 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4292, allocations: 8.031 kB / 0.5129 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03021/0.4595, allocations: 5.314 MB / 0.5181 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.4725, allocations: 5.134 MB / 0.5231 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006131/0.4732, allocations: 0.5299 MB / 0.5236 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002882/0.4761, allocations: 0.7108 MB / 0.5243 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.5074, allocations: 11.32 MB / 0.5354 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004551/0.5079, allocations: 15.89 kB / 0.5354 GB, free: 5.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/0.5105, allocations: 296 kB / 0.5357 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005105/0.5111, allocations: 447 kB / 0.5361 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2748/0.7859, allocations: 10.83 MB / 0.5467 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05229/0.8382, allocations: 38.58 MB / 0.5844 GB, free: 83.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.8522, allocations: 28.29 MB / 0.612 GB, free: 51.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.856, allocations: 2.682 MB / 0.6146 GB, free: 49.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.8669, allocations: 8.429 MB / 0.6228 GB, free: 40.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.867, allocations: 56.56 kB / 0.6229 GB, free: 40.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.827e-06/0.867, allocations: 0 / 0.6229 GB, free: 40.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.01768/0.8847, allocations: 10.47 MB / 0.6331 GB, free: 30.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001569/0.8863, allocations: 2.006 MB / 0.6351 GB, free: 28.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/0.8919, allocations: 3.844 MB / 0.6388 GB, free: 24.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.8922, allocations: 61.7 kB / 0.6389 GB, free: 24.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.8941, allocations: 3.689 MB / 0.6425 GB, free: 20.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008707/0.895, allocations: 0.8593 MB / 0.6433 GB, free: 19.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/0.8966, allocations: 0.9692 MB / 0.6443 GB, free: 18.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.8967, allocations: 305.1 kB / 0.6446 GB, free: 18.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/0.8991, allocations: 1.891 MB / 0.6464 GB, free: 16.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.9025, allocations: 4.395 MB / 0.6507 GB, free: 11.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/0.9089, allocations: 6.785 MB / 0.6573 GB, free: 3.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-05/0.909, allocations: 28 kB / 0.6574 GB, free: 3.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01328/0.9223, allocations: 7 MB / 0.6642 GB, free: 12.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.9224, allocations: 52.09 kB / 0.6642 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/0.9226, allocations: 92 kB / 0.6643 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.9249, allocations: 0.7368 MB / 0.665 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.929, allocations: 1.127 MB / 0.6661 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00809/0.9371, allocations: 5.633 MB / 0.6716 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/0.9417, allocations: 315.5 kB / 0.6719 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000964/0.9427, allocations: 275.9 kB / 0.6722 GB, free: 3.699 MB / 478.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005448/0.9482, allocations: 2.526 MB / 0.6747 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/0.9497, allocations: 409.4 kB / 0.6751 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008994/0.9587, allocations: 4.267 MB / 0.6792 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.9588, allocations: 24 kB / 0.6793 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.9588, allocations: 19.94 kB / 0.6793 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.9588, allocations: 11.95 kB / 0.6793 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/0.9861, allocations: 14.29 MB / 0.6932 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.9862, allocations: 15.98 kB / 0.6933 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.9882, allocations: 471.3 kB / 0.6937 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/0.9905, allocations: 0.7019 MB / 0.6944 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00039/0.9909, allocations: 63.98 kB / 0.6945 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009704/1.001, allocations: 7.503 MB / 0.7018 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001829/1.002, allocations: 1.96 MB / 0.7037 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.014, allocations: 6.77 MB / 0.7103 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.016, allocations: 0.8106 MB / 0.7111 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.017, allocations: 67.92 kB / 0.7112 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.02, allocations: 167.9 kB / 0.7113 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/1.021, allocations: 217.5 kB / 0.7115 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/1.021, allocations: 91.92 kB / 0.7116 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004939/1.026, allocations: 2.522 MB / 0.7141 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.31e-07/1.026, allocations: 0 / 0.7141 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006695/1.033, allocations: 1.293 MB / 0.7153 GB, free: 6.531 MB / 0.5137 GB 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008832/1.034, allocations: 242.3 kB / 0.7156 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009267/1.043, allocations: 5.165 MB / 0.7206 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.043, allocations: 12.06 kB / 0.7206 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005486/1.048, allocations: 2.404 MB / 0.723 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007426/1.056, allocations: 1.005 MB / 0.724 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/1.083, allocations: 12.56 MB / 0.7362 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008446/1.092, allocations: 4.509 MB / 0.7406 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005268/1.097, allocations: 1.364 MB / 0.742 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.098, allocations: 295.4 kB / 0.7422 GB, free: 10.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.293e-06/1.098, allocations: 4 kB / 0.7422 GB, free: 10.66 MB / 0.545 GB Notification: Performance of Templates: time 0.2906/1.389, allocations: 53.62 MB / 0.7946 GB, free: 168.4 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches