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.0009165/0.0009165, allocations: 95.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 200.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001986, allocations: 4 kB / 306.6 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08659, allocations: 51.49 MB / 358.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1815/0.2681, allocations: 24.72 MB / 382.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.2877, allocations: 8.544 MB / 391.4 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/0.2954, allocations: 164 kB / 391.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00824/0.3036, allocations: 1.599 MB / 393.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.318, allocations: 3.155 MB / 396.3 MB, free: 8 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005804/0.3238, allocations: 1.321 MB / 397.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.338, allocations: 7.367 MB / 405 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01631/0.3543, allocations: 9.904 MB / 414.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005219/0.3596, allocations: 2.908 MB / 417.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005551/0.3652, allocations: 3.257 MB / 421 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.3664, allocations: 475.8 kB / 421.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.3692, allocations: 0.7652 MB / 422.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3705, allocations: 1.499 MB / 423.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.3726, allocations: 1.592 MB / 425.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3842, allocations: 13.12 MB / 438.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3842, allocations: 0 / 438.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3842, allocations: 0 / 438.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002968/0.3845, allocations: 0 / 438.5 MB, free: 12.12 MB / 350.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.0209/0.4055, allocations: 8.242 MB / 446.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4055, allocations: 8.031 kB / 446.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/0.4334, allocations: 5.168 MB / 451.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.4437, allocations: 4.942 MB / 456.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/0.4442, allocations: 0.5376 MB / 457.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.4459, allocations: 0.7029 MB / 458.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.465, allocations: 11.2 MB / 469.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.4652, allocations: 15.91 kB / 469.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007967/0.466, allocations: 299.9 kB / 469.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003836/0.4664, allocations: 450.9 kB / 470 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.4869, allocations: 10.76 MB / 480.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/0.5481, allocations: 38.93 MB / 0.5075 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2389/0.787, allocations: 28.22 MB / 0.5351 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/0.803, allocations: 8.426 MB / 0.5433 GB, free: 102.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.8032, allocations: 59.02 kB / 0.5434 GB, free: 102.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=222): time 5.551e-06/0.8032, allocations: 0 / 0.5434 GB, free: 102.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.02036/0.8235, allocations: 10.42 MB / 0.5535 GB, free: 97.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001651/0.8252, allocations: 1.927 MB / 0.5554 GB, free: 96.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.8311, allocations: 3.702 MB / 0.559 GB, free: 94.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004208/0.8315, allocations: 61.61 kB / 0.5591 GB, free: 94.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.8334, allocations: 3.562 MB / 0.5626 GB, free: 91.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008779/0.8343, allocations: 0.854 MB / 0.5634 GB, free: 91.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.8345, allocations: 103.3 kB / 0.5635 GB, free: 91.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.8347, allocations: 0.4967 MB / 0.564 GB, free: 90.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.8371, allocations: 1.894 MB / 0.5658 GB, free: 89.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/0.8405, allocations: 4.427 MB / 0.5702 GB, free: 85.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.8436, allocations: 2.853 MB / 0.573 GB, free: 84.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/0.8436, allocations: 27.91 kB / 0.573 GB, free: 84.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.009355/0.853, allocations: 7.034 MB / 0.5799 GB, free: 81.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.8531, allocations: 43.09 kB / 0.5799 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/0.8532, allocations: 85.44 kB / 0.58 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.8549, allocations: 0.752 MB / 0.5807 GB, free: 81.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/0.8581, allocations: 1.146 MB / 0.5818 GB, free: 81.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.8638, allocations: 5.376 MB / 0.5871 GB, free: 78.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/0.8672, allocations: 320.8 kB / 0.5874 GB, free: 78.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/0.8675, allocations: 284.2 kB / 0.5877 GB, free: 77.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * 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.003446/0.871, allocations: 2.527 MB / 0.5901 GB, free: 75.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/0.8717, allocations: 392.8 kB / 0.5905 GB, free: 75.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/0.8777, allocations: 4.311 MB / 0.5947 GB, free: 70.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.8778, allocations: 27.84 kB / 0.5947 GB, free: 70.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.8778, allocations: 8 kB / 0.5947 GB, free: 70.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.8778, allocations: 11.95 kB / 0.5948 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/0.8961, allocations: 14.33 MB / 0.6087 GB, free: 56.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8961, allocations: 15.94 kB / 0.6088 GB, free: 56.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.8979, allocations: 0.4898 MB / 0.6092 GB, free: 55.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.8996, allocations: 0.6872 MB / 0.6099 GB, free: 55.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.8997, allocations: 71.98 kB / 0.61 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.9064, allocations: 7.097 MB / 0.6169 GB, free: 47.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001211/0.9077, allocations: 1.87 MB / 0.6187 GB, free: 45.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/0.9161, allocations: 8.138 MB / 0.6267 GB, free: 36.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/0.9181, allocations: 0.7973 MB / 0.6275 GB, free: 36.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/0.9187, allocations: 63.98 kB / 0.6275 GB, free: 36.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.9204, allocations: 163.8 kB / 0.6277 GB, free: 35.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/0.9207, allocations: 225.6 kB / 0.6279 GB, free: 35.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.9209, allocations: 95.98 kB / 0.628 GB, free: 35.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003007/0.9239, allocations: 2.4 MB / 0.6303 GB, free: 33.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9239, allocations: 0 / 0.6303 GB, free: 33.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004573/0.9285, allocations: 1.3 MB / 0.6316 GB, free: 31.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (249): * Single equations (assignments): 246 * 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.000449/0.9289, allocations: 256.6 kB / 0.6318 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006367/0.9353, allocations: 5.162 MB / 0.6369 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.9353, allocations: 4 kB / 0.6369 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.9383, allocations: 2.42 MB / 0.6393 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/0.9421, allocations: 0.9256 MB / 0.6402 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/0.9615, allocations: 14.76 MB / 0.6546 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/0.965, allocations: 4.629 MB / 0.6591 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003854/0.9688, allocations: 1.364 MB / 0.6604 GB, free: 1.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.9695, allocations: 295.4 kB / 0.6607 GB, free: 1.688 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9695, allocations: 3.938 kB / 0.6607 GB, free: 1.684 MB / 446.1 MB Notification: Performance of Templates: time 0.2657/1.235, allocations: 52.18 MB / 0.7117 GB, free: 172.3 MB / 494.1 MB 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","../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