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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09687, allocations: 53.33 MB / 427.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2265/0.3234, allocations: 31.11 MB / 459 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3397, allocations: 8.919 MB / 467.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006233/0.3459, allocations: 190 kB / 468.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.3575, allocations: 4.996 MB / 473.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00981/0.3674, allocations: 3.056 MB / 476.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.3722, allocations: 1.63 MB / 477.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.3852, allocations: 8.817 MB / 486.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.4013, allocations: 9.956 MB / 496.5 MB, free: 5.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.4091, allocations: 4.246 MB / 0.489 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009555/0.4187, allocations: 4.885 MB / 0.4938 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003248/0.4219, allocations: 1.16 MB / 0.4949 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/0.4281, allocations: 1.554 MB / 0.4965 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004097/0.4322, allocations: 2.419 MB / 0.4988 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009205/0.4414, allocations: 4.676 MB / 0.5034 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/0.4624, allocations: 15.88 MB / 0.5189 GB, free: 4.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4624, allocations: 0 / 0.5189 GB, free: 4.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4624, allocations: 0 / 0.5189 GB, free: 4.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003408/0.4627, allocations: 4 kB / 0.5189 GB, free: 4.598 MB / 414.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.02873/0.4915, allocations: 9.971 MB / 0.5286 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4915, allocations: 16.03 kB / 0.5287 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/0.5214, allocations: 5.216 MB / 0.5337 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.5325, allocations: 5.154 MB / 0.5388 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/0.533, allocations: 0.5299 MB / 0.5393 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.5352, allocations: 0.7107 MB / 0.54 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.56, allocations: 11.35 MB / 0.5511 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.5601, allocations: 15.94 kB / 0.5511 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009513/0.5611, allocations: 300 kB / 0.5514 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004955/0.5616, allocations: 447 kB / 0.5518 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.5838, allocations: 10.87 MB / 0.5624 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06509/0.6489, allocations: 38.58 MB / 0.6001 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02474/0.6736, allocations: 27.99 MB / 0.6274 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004694/0.6783, allocations: 2.464 MB / 0.6298 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.6932, allocations: 8.451 MB / 0.6381 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.6932, allocations: 64.48 kB / 0.6381 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=217): time 6.251e-06/0.6932, allocations: 0 / 0.6381 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=233): time 0.2149/0.9081, allocations: 10.47 MB / 0.6484 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001657/0.9098, allocations: 2.004 MB / 0.6503 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005989/0.9158, allocations: 3.846 MB / 0.6541 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.9161, allocations: 67.64 kB / 0.6541 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.9181, allocations: 3.686 MB / 0.6577 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007281/0.9188, allocations: 0.8651 MB / 0.6586 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.9201, allocations: 0.9669 MB / 0.6595 GB, free: 162 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.9201, allocations: 302.5 kB / 0.6598 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.9228, allocations: 1.898 MB / 0.6617 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003602/0.9264, allocations: 4.389 MB / 0.666 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006622/0.9331, allocations: 6.8 MB / 0.6726 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.323e-05/0.9331, allocations: 24.59 kB / 0.6726 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01133/0.9445, allocations: 7.005 MB / 0.6795 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.9445, allocations: 39.06 kB / 0.6795 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.9446, allocations: 85.94 kB / 0.6796 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.9466, allocations: 0.7374 MB / 0.6803 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.9501, allocations: 1.131 MB / 0.6814 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.956, allocations: 5.638 MB / 0.6869 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.9605, allocations: 318.3 kB / 0.6872 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006774/0.9612, allocations: 275.8 kB / 0.6875 GB, free: 144.9 MB / 0.5294 GB 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.004018/0.9652, allocations: 2.518 MB / 0.6899 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008695/0.9661, allocations: 407.1 kB / 0.6903 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006379/0.9724, allocations: 4.256 MB / 0.6945 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.9725, allocations: 24.97 kB / 0.6945 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9725, allocations: 6.969 kB / 0.6945 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.9725, allocations: 11.48 kB / 0.6945 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/0.9927, allocations: 14.31 MB / 0.7085 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.9928, allocations: 12 kB / 0.7085 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.9946, allocations: 479.8 kB / 0.709 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.9964, allocations: 0.6991 MB / 0.7096 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.9966, allocations: 70.42 kB / 0.7097 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/1.004, allocations: 7.512 MB / 0.717 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001329/1.005, allocations: 1.96 MB / 0.719 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008529/1.014, allocations: 6.761 MB / 0.7256 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.016, allocations: 0.8223 MB / 0.7264 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/1.016, allocations: 55.98 kB / 0.7264 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.018, allocations: 159.8 kB / 0.7266 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.018, allocations: 225.5 kB / 0.7268 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.018, allocations: 95.97 kB / 0.7269 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003057/1.021, allocations: 2.518 MB / 0.7293 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.021, allocations: 1.094 kB / 0.7293 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004797/1.026, allocations: 1.293 MB / 0.7306 GB, free: 109.9 MB / 0.5294 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.0004503/1.027, allocations: 239.4 kB / 0.7308 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006698/1.033, allocations: 4.975 MB / 0.7357 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.033, allocations: 0 / 0.7357 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.036, allocations: 2.261 MB / 0.7379 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/1.041, allocations: 1.01 MB / 0.7389 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.059, allocations: 12.39 MB / 0.751 GB, free: 88.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003157/1.062, allocations: 4.383 MB / 0.7553 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.063, allocations: 351.4 kB / 0.7556 GB, free: 83.97 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/1.063, allocations: 0 / 0.7556 GB, free: 83.97 MB / 0.5294 GB Notification: Performance of Templates: time 0.3744/1.437, allocations: 203.3 MB / 0.9541 GB, free: 89.09 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.96719302609563]