Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001966/0.003148, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002574, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8702/0.8702, allocations: 173.4 MB / 186 MB, free: 7.516 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1774/1.048, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.91e-05, allocations: 2.312 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02333/0.02335, allocations: 28.94 MB / 268.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.03909, allocations: 9.007 MB / 277.7 MB, free: 280 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.04214, allocations: 222.9 kB / 277.9 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.04744, allocations: 5.186 MB / 283.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.05263, allocations: 3.107 MB / 286.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.05479, allocations: 1.597 MB / 287.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006788/0.06158, allocations: 9.127 MB / 296.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008083/0.06966, allocations: 9.064 MB / 306 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006258/0.07592, allocations: 6.795 MB / 312.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.08074, allocations: 4.576 MB / 317.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.08182, allocations: 1.16 MB / 318.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.08377, allocations: 1.526 MB / 320.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.08541, allocations: 1.984 MB / 322 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.08869, allocations: 2.648 MB / 324.7 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1745/0.2632, allocations: 7.319 MB / 332 MB, free: 23.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.43e-05/0.2632, allocations: 0.625 kB / 332 MB, free: 23.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2632, allocations: 0 / 332 MB, free: 23.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005286/0.2637, allocations: 0.875 kB / 332 MB, free: 23.64 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.02446/0.2882, allocations: 10.94 MB / 342.9 MB, free: 20.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2882, allocations: 17.47 kB / 343 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.304, allocations: 5.254 MB / 348.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008171/0.3122, allocations: 2.768 MB / 351 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.3125, allocations: 0.5302 MB / 351.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/0.3151, allocations: 0.7216 MB / 352.2 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.3378, allocations: 5.929 MB / 358.2 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007018/0.3385, allocations: 18.56 kB / 358.2 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005096/0.3436, allocations: 300.3 kB / 358.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005401/0.3441, allocations: 434.9 kB / 358.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.3612, allocations: 3.004 MB / 361.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.4047, allocations: 23.27 MB / 385.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005232/0.41, allocations: 4.37 MB / 389.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.4112, allocations: 0.9486 MB / 390.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00809/0.4193, allocations: 3.685 MB / 394.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.4194, allocations: 60.56 kB / 394.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 5.821e-06/0.4194, allocations: 0 / 394.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=233): time 0.01099/0.4304, allocations: 5.228 MB / 399.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001226/0.4316, allocations: 1.614 MB / 401.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.4352, allocations: 2.61 MB / 403.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006399/0.4358, allocations: 61.7 kB / 403.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.4382, allocations: 3.33 MB / 407.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.4396, allocations: 0.8571 MB / 407.9 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.4408, allocations: 0.9056 MB / 408.8 MB, free: 7.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4409, allocations: 305.1 kB / 409.1 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.4426, allocations: 0.6839 MB / 409.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002857/0.4455, allocations: 3.122 MB / 412.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/0.4511, allocations: 4.363 MB / 417.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.4512, allocations: 28 kB / 417.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.008612/0.4598, allocations: 3.476 MB / 420.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.544e-05/0.4599, allocations: 40 kB / 420.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.46, allocations: 88.08 kB / 420.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.4619, allocations: 0.645 MB / 421.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/0.4652, allocations: 1.175 MB / 422.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.4682, allocations: 2.884 MB / 425.6 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.4713, allocations: 239.6 kB / 425.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/0.4717, allocations: 232 kB / 426.1 MB, free: 4.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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.00214/0.4739, allocations: 482.9 kB / 426.6 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000723/0.4746, allocations: 287.6 kB / 426.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.4774, allocations: 1.877 MB / 428.7 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.4774, allocations: 28 kB / 428.8 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4774, allocations: 8 kB / 428.8 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.4774, allocations: 11.95 kB / 428.8 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.491, allocations: 7.801 MB / 436.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.491, allocations: 12 kB / 436.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.4921, allocations: 462.2 kB / 437 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.4935, allocations: 428.1 kB / 437.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.4952, allocations: 0.774 MB / 438.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4953, allocations: 67.92 kB / 438.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.4994, allocations: 4.2 MB / 442.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008602/0.5003, allocations: 1.553 MB / 444 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.5042, allocations: 2.696 MB / 446.7 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/0.5054, allocations: 60 kB / 446.8 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.5073, allocations: 95.97 kB / 446.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.5077, allocations: 225.3 kB / 447.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5078, allocations: 63.94 kB / 447.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001943/0.5098, allocations: 1.225 MB / 448.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5098, allocations: 0 / 448.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005231/0.515, allocations: 1.289 MB / 449.7 MB, free: 13.55 MB / 394.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.0005922/0.5156, allocations: 213.3 kB / 449.9 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004339/0.5199, allocations: 2.629 MB / 452.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002322/0.5202, allocations: 95.81 kB / 452.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.5222, allocations: 1.442 MB / 454.1 MB, free: 9.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00827/0.5304, allocations: 7.942 MB / 462 MB, free: 204 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06107/0.5915, allocations: 10.85 MB / 472.9 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00594/0.5974, allocations: 1.342 MB / 474.2 MB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002625/0.6001, allocations: 0.5967 MB / 474.8 MB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.6018, allocations: 0.831 MB / 475.6 MB, free: 2.398 MB / 410.7 MB Notification: Performance of SimCode: time 3.707e-06/0.6018, allocations: 4 kB / 475.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of Templates: time 0.2625/0.8643, allocations: 55.85 MB / 0.519 GB, free: 86.85 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.357458176091313]