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.001224/0.001224, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001193/0.001193, allocations: 166.3 kB / 25.33 MB, free: 9.074 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 0.8615/0.8615, allocations: 158.6 MB / 187.2 MB, free: 2.512 MB / 170.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.535e-05, allocations: 2.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02363/0.02366, allocations: 29.84 MB / 280.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.0419, allocations: 8.554 MB / 289.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006771/0.04867, allocations: 198.9 kB / 289.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008876/0.05755, allocations: 5.198 MB / 294.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.06608, allocations: 3.095 MB / 298 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.07029, allocations: 1.621 MB / 299.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1479/0.2182, allocations: 9.07 MB / 308.7 MB, free: 17.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/0.233, allocations: 9.102 MB / 317.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.2448, allocations: 6.41 MB / 324.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006927/0.2517, allocations: 4.534 MB / 328.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003091/0.2548, allocations: 1.156 MB / 329.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.2599, allocations: 1.516 MB / 331.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00266/0.2626, allocations: 2.496 MB / 333.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006916/0.2695, allocations: 3.17 MB / 337 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.2815, allocations: 7.742 MB / 344.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.2815, allocations: 7.984 kB / 344.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2815, allocations: 2.812 kB / 344.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004209/0.2819, allocations: 0 / 344.8 MB, free: 3.027 MB / 282.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.01758/0.2995, allocations: 10.35 MB / 355.1 MB, free: 8.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2996, allocations: 12.03 kB / 355.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.3162, allocations: 6.604 MB / 361.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007689/0.3238, allocations: 4.375 MB / 366.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.3242, allocations: 0.5369 MB / 366.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.326, allocations: 0.7069 MB / 367.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.34, allocations: 6.372 MB / 373.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.3402, allocations: 19.91 kB / 373.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006207/0.3408, allocations: 297.5 kB / 374.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.3411, allocations: 454.9 kB / 374.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009431/0.3505, allocations: 3.694 MB / 378.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04363/0.3942, allocations: 30.61 MB / 408.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/0.4014, allocations: 6.462 MB / 415.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.4035, allocations: 1.231 MB / 416.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007738/0.4112, allocations: 4.931 MB / 421.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4113, allocations: 66.61 kB / 421.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 3.998e-06/0.4113, allocations: 0 / 421.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.0126/0.4239, allocations: 6.344 MB / 427.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00155/0.4254, allocations: 2.231 MB / 430.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/0.4303, allocations: 3.317 MB / 433.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003019/0.4306, allocations: 61.7 kB / 433.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.4327, allocations: 3.868 MB / 437.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009881/0.4337, allocations: 0.8768 MB / 438.2 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009864/0.4347, allocations: 1.037 MB / 439.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4348, allocations: 476.8 kB / 439.7 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.436, allocations: 0.6459 MB / 440.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.159/0.595, allocations: 4.389 MB / 444.7 MB, free: 80.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/0.6004, allocations: 5.52 MB / 450.3 MB, free: 75.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/0.6006, allocations: 29.88 kB / 450.3 MB, free: 75.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009045/0.6096, allocations: 4.588 MB / 454.9 MB, free: 75.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.6097, allocations: 44.69 kB / 454.9 MB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.6098, allocations: 86.38 kB / 455 MB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.6117, allocations: 0.7154 MB / 455.7 MB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.6143, allocations: 1.118 MB / 456.8 MB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.6181, allocations: 3.822 MB / 460.7 MB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.6211, allocations: 307.6 kB / 461 MB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/0.6215, allocations: 277.3 kB / 461.2 MB, free: 73.85 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.001824/0.6233, allocations: 0.5212 MB / 461.7 MB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/0.624, allocations: 447.7 kB / 462.2 MB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.6273, allocations: 2.466 MB / 464.6 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.6273, allocations: 25.66 kB / 464.7 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6273, allocations: 6.281 kB / 464.7 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6273, allocations: 12.05 kB / 464.7 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.6408, allocations: 11.47 MB / 476.2 MB, free: 72.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6408, allocations: 13.22 kB / 476.2 MB, free: 72.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/0.6418, allocations: 487.6 kB / 476.7 MB, free: 72.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.6433, allocations: 0.6661 MB / 477.3 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6434, allocations: 66.53 kB / 477.4 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.6478, allocations: 5.753 MB / 483.1 MB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008957/0.6487, allocations: 2.182 MB / 485.3 MB, free: 66.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.653, allocations: 3.6 MB / 488.9 MB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6541, allocations: 0.6583 MB / 489.6 MB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.6545, allocations: 71.12 kB / 489.6 MB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/0.6553, allocations: 166.3 kB / 489.8 MB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.6557, allocations: 230.6 kB / 490 MB, free: 65.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6558, allocations: 91.11 kB / 490.1 MB, free: 65.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002032/0.6578, allocations: 1.588 MB / 491.7 MB, free: 65.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6578, allocations: 4 kB / 491.7 MB, free: 65.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003762/0.6616, allocations: 1.29 MB / 493 MB, free: 65.25 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.0004164/0.662, allocations: 222.1 kB / 493.2 MB, free: 65.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.6664, allocations: 3.129 MB / 496.4 MB, free: 64.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.6664, allocations: 0 / 496.4 MB, free: 64.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.6682, allocations: 1.635 MB / 498 MB, free: 63.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.6712, allocations: 0.8732 MB / 498.9 MB, free: 63.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.6852, allocations: 10.89 MB / 0.4978 GB, free: 53.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.6868, allocations: 1.766 MB / 0.4995 GB, free: 52.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002856/0.6896, allocations: 1.138 MB / 0.5006 GB, free: 51.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.6903, allocations: 289.8 kB / 0.5009 GB, free: 51.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.385e-06/0.6903, allocations: 0 / 0.5009 GB, free: 51.38 MB / 378.7 MB Notification: Performance of Templates: time 0.0605/0.7508, allocations: 50.09 MB / 0.5498 GB, free: 2.246 MB / 378.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.317436646204442]