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.0009064/0.0009064, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003521/0.003521, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8927/0.8927, allocations: 177.1 MB / 205 MB, free: 5.73 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.402e-06/1.402e-06, allocations: 0 / 325.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.16e-05, allocations: 6.281 kB / 325.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0195/0.01952, allocations: 26.66 MB / 352.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.03468, allocations: 8.569 MB / 361.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.03954, allocations: 226.9 kB / 361.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006448/0.04599, allocations: 4.862 MB / 366.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.05298, allocations: 3.118 MB / 369.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.05578, allocations: 1.609 MB / 370.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007846/0.06363, allocations: 9.191 MB / 380.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00873/0.07236, allocations: 9.115 MB / 389.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007312/0.07967, allocations: 6.376 MB / 395.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004661/0.08433, allocations: 4.073 MB / 399.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.08559, allocations: 1.16 MB / 400.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.08752, allocations: 1.542 MB / 402.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.08873, allocations: 2.466 MB / 404.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002675/0.0914, allocations: 3.142 MB / 408 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.1031, allocations: 16.05 MB / 424 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1031, allocations: 0 / 424 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1031, allocations: 0 / 424 MB, free: 12.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002757/0.1033, allocations: 0 / 424 MB, free: 12.75 MB / 394.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.01489/0.1182, allocations: 9.798 MB / 433.8 MB, free: 2.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1183, allocations: 8.031 kB / 433.8 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/0.1414, allocations: 5.232 MB / 439.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.1559, allocations: 5.125 MB / 444.2 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/0.1564, allocations: 0.526 MB / 444.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002607/0.159, allocations: 0.703 MB / 445.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1939/0.3529, allocations: 11.58 MB / 457 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.353, allocations: 21.42 kB / 457 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/0.3535, allocations: 301.9 kB / 457.3 MB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.3537, allocations: 444.1 kB / 457.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.3658, allocations: 10.81 MB / 468.5 MB, free: 97.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/0.3941, allocations: 32.69 MB / 0.4895 GB, free: 66.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006184/0.4003, allocations: 7.438 MB / 0.4968 GB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.4022, allocations: 2.442 MB / 0.4991 GB, free: 57.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006876/0.4091, allocations: 6.901 MB / 0.5059 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.4091, allocations: 60.56 kB / 0.5059 GB, free: 50.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 3.407e-06/0.4092, allocations: 0 / 0.5059 GB, free: 50.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.01101/0.4202, allocations: 10.29 MB / 0.516 GB, free: 40.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001037/0.4212, allocations: 1.867 MB / 0.5178 GB, free: 38.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.4242, allocations: 3.635 MB / 0.5214 GB, free: 35.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.96e-05/0.4243, allocations: 65.7 kB / 0.5214 GB, free: 35.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000908/0.4252, allocations: 3.68 MB / 0.525 GB, free: 31.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.4256, allocations: 0.8555 MB / 0.5258 GB, free: 30.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/0.4263, allocations: 0.9535 MB / 0.5268 GB, free: 29.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.4263, allocations: 305.1 kB / 0.5271 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.4279, allocations: 1.895 MB / 0.5289 GB, free: 27.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.43, allocations: 4.442 MB / 0.5333 GB, free: 21.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.4339, allocations: 6.808 MB / 0.5399 GB, free: 13.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/0.434, allocations: 27.94 kB / 0.5399 GB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.006121/0.4401, allocations: 6.968 MB / 0.5467 GB, free: 6.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4401, allocations: 44 kB / 0.5468 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/0.4402, allocations: 84 kB / 0.5469 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.4412, allocations: 0.7456 MB / 0.5476 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4428, allocations: 1.115 MB / 0.5487 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.4466, allocations: 5.412 MB / 0.554 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.4486, allocations: 323.3 kB / 0.5543 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.4489, allocations: 276 kB / 0.5545 GB, free: 14.8 MB / 426.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.003317/0.4522, allocations: 2.526 MB / 0.557 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004602/0.4526, allocations: 373.6 kB / 0.5574 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.4572, allocations: 4.233 MB / 0.5615 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4572, allocations: 24 kB / 0.5615 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4572, allocations: 7.938 kB / 0.5615 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.4573, allocations: 11.95 kB / 0.5615 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.471, allocations: 12.66 MB / 0.5739 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.471, allocations: 12 kB / 0.5739 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/0.472, allocations: 484 kB / 0.5744 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.4731, allocations: 0.6957 MB / 0.5751 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4732, allocations: 79.91 kB / 0.5751 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/0.4788, allocations: 7.106 MB / 0.5821 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001062/0.4799, allocations: 1.813 MB / 0.5838 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006705/0.4866, allocations: 6.702 MB / 0.5904 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.4879, allocations: 0.7199 MB / 0.5911 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.4882, allocations: 60 kB / 0.5911 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.4891, allocations: 168.2 kB / 0.5913 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4894, allocations: 233.3 kB / 0.5915 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4895, allocations: 91.97 kB / 0.5916 GB, free: 8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0025/0.492, allocations: 2.272 MB / 0.5938 GB, free: 5.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.492, allocations: 4 kB / 0.5938 GB, free: 5.738 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003834/0.4958, allocations: 1.285 MB / 0.5951 GB, free: 4.453 MB / 458.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.0004352/0.4963, allocations: 257 kB / 0.5953 GB, free: 4.199 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005509/0.5018, allocations: 4.812 MB / 0.6 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5018, allocations: 4 kB / 0.6 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.5039, allocations: 2.193 MB / 0.6022 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.5063, allocations: 0.8643 MB / 0.603 GB, free: 12.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.163/0.6693, allocations: 12.36 MB / 0.6151 GB, free: 156.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/0.6739, allocations: 3.902 MB / 0.6189 GB, free: 155.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/0.6749, allocations: 336.8 kB / 0.6192 GB, free: 155.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.654e-06/0.6749, allocations: 3.812 kB / 0.6192 GB, free: 155.9 MB / 474.7 MB Notification: Performance of Templates: time 0.2533/0.9282, allocations: 203.3 MB / 0.8178 GB, free: 156.2 MB / 490.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.55233871564269]