Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.97 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2215, allocations: 50.53 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.03865/0.2602, allocations: 40.08 MB / 450.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.2792, allocations: 10.66 MB / 460.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/0.2846, allocations: 307 kB / 461 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01791/0.3026, allocations: 8.514 MB / 469.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.3122, allocations: 3.417 MB / 472.9 MB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005789/0.318, allocations: 2.366 MB / 475.3 MB, free: 12 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.3322, allocations: 12.95 MB / 488.3 MB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03321/0.3654, allocations: 25.31 MB / 0.5015 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.3736, allocations: 6.822 MB / 0.5082 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009946/0.3836, allocations: 7.841 MB / 0.5159 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.3867, allocations: 1.953 MB / 0.5178 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.391, allocations: 2.359 MB / 0.5201 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.3942, allocations: 3.951 MB / 0.5239 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008016/0.4022, allocations: 7.568 MB / 0.5313 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3577/0.7599, allocations: 25.9 MB / 0.5566 GB, free: 55.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.76, allocations: 0 / 0.5566 GB, free: 55.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.76, allocations: 0 / 0.5566 GB, free: 55.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004735/0.7605, allocations: 2.734 kB / 0.5566 GB, free: 55.84 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.03042/0.7909, allocations: 15.04 MB / 0.5713 GB, free: 49.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7909, allocations: 10.19 kB / 0.5713 GB, free: 49.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/0.8207, allocations: 6.153 MB / 0.5773 GB, free: 46.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.8336, allocations: 8.056 MB / 0.5852 GB, free: 43.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.834, allocations: 0.9117 MB / 0.5861 GB, free: 43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.8357, allocations: 1.198 MB / 0.5872 GB, free: 42.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.8604, allocations: 18.66 MB / 0.6055 GB, free: 25.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/0.8607, allocations: 19.89 kB / 0.6055 GB, free: 25.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/0.862, allocations: 0.4911 MB / 0.606 GB, free: 25.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/0.8624, allocations: 0.6382 MB / 0.6066 GB, free: 24.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/0.8857, allocations: 16.76 MB / 0.623 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08217/0.9679, allocations: 58.83 MB / 0.6804 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02508/0.993, allocations: 33.21 MB / 0.7128 GB, free: 7.496 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005904/0.999, allocations: 3.737 MB / 0.7165 GB, free: 3.746 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/1.015, allocations: 8.833 MB / 0.7251 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.015, allocations: 73.3 kB / 0.7252 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=349): time 4.599e-06/1.015, allocations: 0 / 0.7252 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of matching and sorting (n=389): time 0.03396/1.049, allocations: 17.57 MB / 0.7423 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.049, allocations: 90.47 kB / 0.7424 GB, free: 9.074 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/1.056, allocations: 5.029 MB / 0.7473 GB, free: 4.051 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/1.057, allocations: 89.7 kB / 0.7474 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.1922/1.249, allocations: 5.446 MB / 0.7527 GB, free: 218.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.25, allocations: 1.354 MB / 0.7541 GB, free: 217.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/1.252, allocations: 1.319 MB / 0.7554 GB, free: 217.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.323e-05/1.252, allocations: 307.9 kB / 0.7556 GB, free: 217.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/1.256, allocations: 2.911 MB / 0.7585 GB, free: 217.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/1.26, allocations: 5.872 MB / 0.7642 GB, free: 212.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008191/1.268, allocations: 9.442 MB / 0.7734 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.844e-05/1.268, allocations: 27.19 kB / 0.7735 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01288/1.281, allocations: 9.847 MB / 0.7831 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/1.281, allocations: 50.81 kB / 0.7831 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.242e-05/1.281, allocations: 101.1 kB / 0.7832 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/1.284, allocations: 0.9373 MB / 0.7841 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/1.288, allocations: 1.582 MB / 0.7857 GB, free: 201.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009337/1.298, allocations: 10.18 MB / 0.7956 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/1.302, allocations: 408 kB / 0.796 GB, free: 192.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/1.302, allocations: 355.6 kB / 0.7964 GB, free: 192.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004996/1.307, allocations: 4.247 MB / 0.8005 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/1.308, allocations: 0.5091 MB / 0.801 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008912/1.317, allocations: 6.493 MB / 0.8074 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/1.317, allocations: 19.22 kB / 0.8074 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/1.317, allocations: 0 / 0.8074 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.319, allocations: 1.059 MB / 0.8084 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/1.319, allocations: 64 kB / 0.8085 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.322, allocations: 224.4 kB / 0.8087 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/1.322, allocations: 272.7 kB / 0.8089 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009018/1.331, allocations: 6.062 MB / 0.8149 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008765/1.34, allocations: 8.021 MB / 0.8227 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002435/1.342, allocations: 2.419 MB / 0.8251 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003985/1.346, allocations: 3.359 MB / 0.8283 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of Backend: time 4.6e-07/1.346, allocations: 0 / 0.8283 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008615/1.355, allocations: 5.898 MB / 0.8341 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02509/1.38, allocations: 19.29 MB / 0.8529 GB, free: 138.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.116/1.496, allocations: 87.38 MB / 0.9383 GB, free: 51.9 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches