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.001612/0.001612, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.62 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2726/0.3977, allocations: 30.98 MB / 389.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.4198, allocations: 8.887 MB / 398.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01039/0.4302, allocations: 193.8 kB / 399 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01517/0.4455, allocations: 4.918 MB / 403.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.4578, allocations: 2.968 MB / 406.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005999/0.4638, allocations: 1.635 MB / 408.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01751/0.4813, allocations: 8.814 MB / 417.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02557/0.507, allocations: 12.86 MB / 430.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009004/0.516, allocations: 4.226 MB / 434.4 MB, free: 268 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009351/0.5254, allocations: 4.823 MB / 439.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004045/0.5295, allocations: 1.168 MB / 440.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006108/0.5356, allocations: 1.543 MB / 441.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00443/0.5401, allocations: 2.412 MB / 444.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.5517, allocations: 4.676 MB / 449 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02373/0.5754, allocations: 15.83 MB / 464.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5754, allocations: 3.938 kB / 464.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5755, allocations: 0 / 464.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005726/0.576, allocations: 4 kB / 464.9 MB, free: 1.711 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03482/0.6109, allocations: 9.786 MB / 474.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.611, allocations: 16.03 kB / 474.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03029/0.6413, allocations: 5.278 MB / 480 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.6558, allocations: 5.105 MB / 485.1 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007092/0.6566, allocations: 0.5299 MB / 485.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003624/0.6602, allocations: 0.7106 MB / 486.3 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/0.695, allocations: 11.32 MB / 497.6 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004819/0.6955, allocations: 15.84 kB / 497.6 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/0.6986, allocations: 296 kB / 497.9 MB, free: 384 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008113/0.6994, allocations: 451 kB / 498.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/0.726, allocations: 10.83 MB / 0.4973 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3314/1.057, allocations: 38.47 MB / 0.5348 GB, free: 124.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/1.079, allocations: 28.27 MB / 0.5624 GB, free: 99.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/1.084, allocations: 2.673 MB / 0.5651 GB, free: 99.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/1.101, allocations: 8.412 MB / 0.5733 GB, free: 97.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.101, allocations: 60.38 kB / 0.5733 GB, free: 97.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.669e-06/1.101, allocations: 0 / 0.5733 GB, free: 97.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01966/1.121, allocations: 10.37 MB / 0.5835 GB, free: 92.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00159/1.123, allocations: 1.996 MB / 0.5854 GB, free: 90.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/1.128, allocations: 3.844 MB / 0.5892 GB, free: 89.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003979/1.128, allocations: 66.58 kB / 0.5892 GB, free: 89.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/1.13, allocations: 3.561 MB / 0.5927 GB, free: 86.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/1.131, allocations: 0.8257 MB / 0.5935 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/1.132, allocations: 0.9585 MB / 0.5944 GB, free: 85.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/1.132, allocations: 305.1 kB / 0.5947 GB, free: 85.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.135, allocations: 1.889 MB / 0.5966 GB, free: 84.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.138, allocations: 4.402 MB / 0.6009 GB, free: 80.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006332/1.144, allocations: 6.781 MB / 0.6075 GB, free: 74.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/1.144, allocations: 24.59 kB / 0.6075 GB, free: 74.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01028/1.155, allocations: 6.988 MB / 0.6143 GB, free: 69.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/1.155, allocations: 40 kB / 0.6144 GB, free: 69.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.155, allocations: 88 kB / 0.6145 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/1.157, allocations: 0.7406 MB / 0.6152 GB, free: 68.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/1.16, allocations: 1.115 MB / 0.6163 GB, free: 67.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/1.167, allocations: 5.641 MB / 0.6218 GB, free: 61.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/1.172, allocations: 315.1 kB / 0.6221 GB, free: 61.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/1.173, allocations: 279.7 kB / 0.6224 GB, free: 60.97 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 (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.005374/1.178, allocations: 2.522 MB / 0.6248 GB, free: 58.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.179, allocations: 387.2 kB / 0.6252 GB, free: 58.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/1.185, allocations: 4.267 MB / 0.6294 GB, free: 53.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.186, allocations: 27.98 kB / 0.6294 GB, free: 53.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.186, allocations: 7.938 kB / 0.6294 GB, free: 53.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.186, allocations: 19.94 kB / 0.6294 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.206, allocations: 14.29 MB / 0.6434 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.206, allocations: 12 kB / 0.6434 GB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.208, allocations: 480.1 kB / 0.6438 GB, free: 38.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/1.209, allocations: 0.6929 MB / 0.6445 GB, free: 38.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/1.21, allocations: 72.73 kB / 0.6446 GB, free: 37.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007066/1.217, allocations: 7.494 MB / 0.6519 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001298/1.218, allocations: 1.961 MB / 0.6538 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008301/1.226, allocations: 6.74 MB / 0.6604 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.229, allocations: 0.7967 MB / 0.6612 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.229, allocations: 60 kB / 0.6612 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.231, allocations: 163.9 kB / 0.6614 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/1.232, allocations: 225.4 kB / 0.6616 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.232, allocations: 83.98 kB / 0.6617 GB, free: 19.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003362/1.235, allocations: 2.522 MB / 0.6641 GB, free: 17.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.235, allocations: 0 / 0.6641 GB, free: 17.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005203/1.24, allocations: 1.304 MB / 0.6654 GB, free: 15.88 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 (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.0006095/1.241, allocations: 233.4 kB / 0.6656 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007143/1.248, allocations: 5.163 MB / 0.6707 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.248, allocations: 2.625 kB / 0.6707 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/1.252, allocations: 2.421 MB / 0.673 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/1.257, allocations: 0.9881 MB / 0.674 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.279, allocations: 12.36 MB / 0.6861 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005695/1.285, allocations: 4.512 MB / 0.6905 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004442/1.289, allocations: 1.371 MB / 0.6918 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/1.29, allocations: 295.4 kB / 0.6921 GB, free: 4.258 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/1.29, allocations: 0 / 0.6921 GB, free: 4.258 MB / 462.1 MB Notification: Performance of Templates: time 0.2756/1.566, allocations: 51.72 MB / 0.7426 GB, free: 144.7 MB / 478.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 -s cvode -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/jenkins1/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/jenkins1/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