Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002479/0.002479, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.002721/0.002721, allocations: 160.8 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.724e-05/4.023e-05, allocations: 2.312 kB / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.04149/0.04153, allocations: 29.62 MB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.06285, allocations: 8.542 MB / 288.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006557/0.06941, allocations: 199 kB / 288.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.08414, allocations: 5.175 MB / 293.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.09581, allocations: 3.088 MB / 297 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00605/0.1019, allocations: 1.621 MB / 298.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.1175, allocations: 9.08 MB / 307.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01745/0.1349, allocations: 9.11 MB / 316.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.1502, allocations: 6.399 MB / 323.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.1623, allocations: 4.444 MB / 327.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.1661, allocations: 1.16 MB / 328.8 MB, free: 9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00594/0.172, allocations: 1.515 MB / 330.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004551/0.1765, allocations: 2.505 MB / 332.9 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009039/0.1856, allocations: 3.173 MB / 336 MB, free: 1.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02854/0.2141, allocations: 16.02 MB / 352 MB, free: 1.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2141, allocations: 3.938 kB / 352 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2141, allocations: 0 / 352 MB, free: 1.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005399/0.2147, allocations: 0 / 352 MB, free: 1.719 MB / 330.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.1907/0.4053, allocations: 11.19 MB / 363.2 MB, free: 93.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4054, allocations: 12.03 kB / 363.3 MB, free: 93.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03212/0.4375, allocations: 6.6 MB / 369.9 MB, free: 87.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.4499, allocations: 4.442 MB / 374.3 MB, free: 82.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/0.4505, allocations: 0.533 MB / 374.8 MB, free: 82.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/0.4537, allocations: 0.714 MB / 375.5 MB, free: 81.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03103/0.4847, allocations: 11.65 MB / 387.2 MB, free: 69.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/0.4852, allocations: 19.84 kB / 387.2 MB, free: 69.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/0.4884, allocations: 291 kB / 387.5 MB, free: 69.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004941/0.4889, allocations: 450.9 kB / 387.9 MB, free: 69.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/0.5108, allocations: 9.584 MB / 397.5 MB, free: 59.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08974/0.6005, allocations: 62.5 MB / 460 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.6167, allocations: 6.992 MB / 467 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005348/0.622, allocations: 2.115 MB / 469.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02059/0.6426, allocations: 7.049 MB / 476.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.883e-05/0.6427, allocations: 59.39 kB / 476.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 4.859e-06/0.6427, allocations: 0 / 476.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.02553/0.6683, allocations: 9.099 MB / 485.3 MB, free: 1.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00324/0.6715, allocations: 2.454 MB / 487.8 MB, free: 14.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/0.6831, allocations: 5.012 MB / 492.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005523/0.6836, allocations: 65.7 kB / 492.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00517/0.6888, allocations: 4.138 MB / 497 MB, free: 5.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/0.6906, allocations: 0.9415 MB / 497.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003885/0.6945, allocations: 1.244 MB / 499.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.6947, allocations: 476.8 kB / 499.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/0.6984, allocations: 1.555 MB / 0.4895 GB, free: 1.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1676/0.8661, allocations: 5.489 MB / 0.4948 GB, free: 113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007425/0.8735, allocations: 7.56 MB / 0.5022 GB, free: 108 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.8736, allocations: 25.78 kB / 0.5022 GB, free: 108 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01071/0.8843, allocations: 6.57 MB / 0.5086 GB, free: 107.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.8844, allocations: 39.66 kB / 0.5087 GB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/0.8845, allocations: 91.84 kB / 0.5088 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.8871, allocations: 0.8962 MB / 0.5096 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.8905, allocations: 1.116 MB / 0.5107 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/0.8972, allocations: 5.929 MB / 0.5165 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/0.9016, allocations: 312.2 kB / 0.5168 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007744/0.9024, allocations: 279.7 kB / 0.5171 GB, free: 105.3 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.004113/0.9065, allocations: 2.307 MB / 0.5193 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.9075, allocations: 445.6 kB / 0.5198 GB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/0.9142, allocations: 3.669 MB / 0.5233 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.9142, allocations: 24.19 kB / 0.5234 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.9142, allocations: 10.75 kB / 0.5234 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.9142, allocations: 18.67 kB / 0.5234 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/0.9372, allocations: 15.2 MB / 0.5382 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.9372, allocations: 12.16 kB / 0.5383 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.9389, allocations: 487.2 kB / 0.5387 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.9414, allocations: 0.851 MB / 0.5395 GB, free: 89.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.9416, allocations: 75.97 kB / 0.5396 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007445/0.949, allocations: 8.116 MB / 0.5475 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001409/0.9505, allocations: 2.396 MB / 0.5499 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/0.9582, allocations: 6 MB / 0.5557 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.9603, allocations: 0.6681 MB / 0.5564 GB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/0.9609, allocations: 59.98 kB / 0.5565 GB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.9626, allocations: 166.8 kB / 0.5566 GB, free: 71.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/0.9631, allocations: 237.9 kB / 0.5568 GB, free: 71.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.9632, allocations: 88.02 kB / 0.5569 GB, free: 71.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003211/0.9664, allocations: 2.556 MB / 0.5594 GB, free: 68.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9664, allocations: 0 / 0.5594 GB, free: 68.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006731/0.9732, allocations: 1.283 MB / 0.5607 GB, free: 67.62 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.0007038/0.9739, allocations: 225.7 kB / 0.5609 GB, free: 67.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007652/0.9815, allocations: 4.808 MB / 0.5656 GB, free: 62.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/0.9815, allocations: 4 kB / 0.5656 GB, free: 62.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.9853, allocations: 2.27 MB / 0.5678 GB, free: 60.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006857/0.9921, allocations: 0.8773 MB / 0.5687 GB, free: 59.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.021, allocations: 12.06 MB / 0.5804 GB, free: 47.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005295/1.026, allocations: 3.707 MB / 0.5841 GB, free: 43.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004754/1.031, allocations: 1.139 MB / 0.5852 GB, free: 42.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.032, allocations: 280.5 kB / 0.5854 GB, free: 41.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/1.032, allocations: 4 kB / 0.5854 GB, free: 41.88 MB / 378.7 MB Notification: Performance of Templates: time 0.2431/1.275, allocations: 47.54 MB / 0.6319 GB, free: 120.7 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.58380495198071]