Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 72.89 kB / 21.49 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 167.4 kB / 24.91 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8867/0.8867, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.256e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1326/0.1326, allocations: 29.29 MB / 302.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1479, allocations: 9.187 MB / 312 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003843/0.1517, allocations: 221.5 kB / 312.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005783/0.1575, allocations: 5.221 MB / 317.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.1628, allocations: 3.146 MB / 320.5 MB, free: 2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1649, allocations: 1.629 MB / 322.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.1719, allocations: 9.203 MB / 331.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008703/0.1806, allocations: 9.389 MB / 340.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.1863, allocations: 6.446 MB / 347.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.1907, allocations: 4.597 MB / 351.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.1918, allocations: 1.156 MB / 353 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.1937, allocations: 1.53 MB / 354.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.1951, allocations: 2.497 MB / 357 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.1974, allocations: 3.177 MB / 360.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.2032, allocations: 7.774 MB / 367.9 MB, free: 3.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2032, allocations: 0 / 367.9 MB, free: 3.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.2032, allocations: 0 / 367.9 MB, free: 3.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.191e-05/0.2033, allocations: 4 kB / 367.9 MB, free: 3.711 MB / 314.7 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.01087/0.2141, allocations: 9.386 MB / 377.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2142, allocations: 8.031 kB / 377.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.2276, allocations: 5.206 MB / 382.5 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.2319, allocations: 2.788 MB / 385.3 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.2321, allocations: 0.526 MB / 385.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007456/0.2329, allocations: 0.7185 MB / 386.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006303/0.2392, allocations: 5.96 MB / 392.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.2393, allocations: 15.88 kB / 392.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.2398, allocations: 304 kB / 392.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/0.2401, allocations: 447 kB / 393.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.2443, allocations: 3.025 MB / 396.3 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.2666, allocations: 23.28 MB / 419.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.2714, allocations: 4.388 MB / 424 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.2724, allocations: 0.9526 MB / 424.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/0.2776, allocations: 3.766 MB / 428.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.2777, allocations: 56.55 kB / 428.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.907e-06/0.2777, allocations: 4 kB / 428.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.007466/0.2852, allocations: 4.718 MB / 433.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1152/0.4003, allocations: 1.602 MB / 435.1 MB, free: 89.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.4032, allocations: 2.626 MB / 437.7 MB, free: 88.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.4036, allocations: 62.08 kB / 437.8 MB, free: 88.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4049, allocations: 3.333 MB / 441.1 MB, free: 87.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.4053, allocations: 0.8595 MB / 441.9 MB, free: 87.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009209/0.4063, allocations: 0.906 MB / 442.9 MB, free: 87.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.143e-05/0.4063, allocations: 304.3 kB / 443.2 MB, free: 86.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4075, allocations: 0.6804 MB / 443.8 MB, free: 86.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.4093, allocations: 3.138 MB / 447 MB, free: 83.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.412, allocations: 4.119 MB / 451.1 MB, free: 80.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/0.4121, allocations: 23.38 kB / 451.1 MB, free: 80.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.003866/0.4159, allocations: 3.486 MB / 454.6 MB, free: 80.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.416, allocations: 49.78 kB / 454.6 MB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.049e-05/0.4161, allocations: 88.59 kB / 454.7 MB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.4172, allocations: 0.6448 MB / 455.4 MB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.4189, allocations: 1.034 MB / 456.4 MB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.4212, allocations: 2.866 MB / 459.3 MB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4229, allocations: 233 kB / 459.5 MB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.4231, allocations: 240.3 kB / 459.7 MB, free: 78.83 MB / 378.7 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.001061/0.4241, allocations: 476.3 kB / 460.2 MB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.4245, allocations: 299.1 kB / 460.5 MB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.4266, allocations: 1.872 MB / 462.4 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4267, allocations: 23.5 kB / 462.4 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4267, allocations: 7.938 kB / 462.4 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4267, allocations: 13.97 kB / 462.4 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007917/0.4346, allocations: 7.823 MB / 470.2 MB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4346, allocations: 11.12 kB / 470.2 MB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.4354, allocations: 410 kB / 470.6 MB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.4367, allocations: 0.7763 MB / 471.4 MB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.4368, allocations: 69.72 kB / 471.5 MB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.4394, allocations: 4.171 MB / 475.7 MB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005231/0.4399, allocations: 1.556 MB / 477.2 MB, free: 72.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.4424, allocations: 2.686 MB / 479.9 MB, free: 69.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/0.443, allocations: 439.5 kB / 480.3 MB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.4433, allocations: 63.42 kB / 480.4 MB, free: 69.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.444, allocations: 90.97 kB / 480.5 MB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.4442, allocations: 232.2 kB / 480.7 MB, free: 69.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.4443, allocations: 68.34 kB / 480.8 MB, free: 69.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008044/0.4451, allocations: 1.201 MB / 482 MB, free: 68.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 482 MB, free: 68.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002552/0.4476, allocations: 1.287 MB / 483.3 MB, free: 67.03 MB / 378.7 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.0002991/0.4479, allocations: 229.5 kB / 483.5 MB, free: 66.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.4502, allocations: 2.547 MB / 486 MB, free: 64.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-05/0.4503, allocations: 67.94 kB / 486.1 MB, free: 64.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4513, allocations: 1.281 MB / 487.4 MB, free: 63.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.4532, allocations: 0.8705 MB / 488.3 MB, free: 62.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.4624, allocations: 10.53 MB / 498.8 MB, free: 51.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/0.4633, allocations: 1.344 MB / 0.4884 GB, free: 50.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4646, allocations: 0.6009 MB / 0.489 GB, free: 49.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.4658, allocations: 0.8551 MB / 0.4898 GB, free: 48.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4658, allocations: 0 / 0.4898 GB, free: 48.97 MB / 378.7 MB Notification: Performance of Templates: time 0.05993/0.5257, allocations: 53.16 MB / 0.5417 GB, free: 12.76 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.981532271951437]