Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 89.22 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 157.3 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 1.219 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.77e-05, allocations: 9.234 kB / 325.1 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03371/0.03374, allocations: 26.65 MB / 351.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02025/0.05399, allocations: 8.565 MB / 360.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008937/0.06293, allocations: 226.9 kB / 360.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01417/0.0771, allocations: 4.854 MB / 365.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.08913, allocations: 3.126 MB / 368.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005744/0.09488, allocations: 1.608 MB / 370.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01507/0.1099, allocations: 9.194 MB / 379.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01581/0.1258, allocations: 9.122 MB / 388.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/0.1383, allocations: 6.356 MB / 394.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008967/0.1472, allocations: 4.077 MB / 398.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003742/0.151, allocations: 1.16 MB / 400 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.157, allocations: 1.546 MB / 401.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004082/0.1611, allocations: 2.47 MB / 404 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007987/0.1691, allocations: 3.142 MB / 407.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02119/0.1903, allocations: 16.04 MB / 423.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1903, allocations: 0 / 423.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1903, allocations: 0 / 423.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003346/0.1906, allocations: 0 / 423.2 MB, free: 2.527 MB / 382.1 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.02828/0.2189, allocations: 9.799 MB / 433 MB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2189, allocations: 11.97 kB / 433 MB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/0.2494, allocations: 5.236 MB / 438.2 MB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.2615, allocations: 5.109 MB / 443.3 MB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000592/0.2621, allocations: 0.5337 MB / 443.9 MB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.2645, allocations: 0.7108 MB / 444.6 MB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.2885, allocations: 11.58 MB / 456.2 MB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.2887, allocations: 19.89 kB / 456.2 MB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000917/0.2896, allocations: 296 kB / 456.5 MB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004995/0.2901, allocations: 450.9 kB / 456.9 MB, free: 476 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.3125, allocations: 10.81 MB / 467.7 MB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2131/0.5256, allocations: 32.67 MB / 0.4887 GB, free: 100.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.5373, allocations: 7.44 MB / 0.4959 GB, free: 97.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.5409, allocations: 2.444 MB / 0.4983 GB, free: 96.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5522, allocations: 6.891 MB / 0.5051 GB, free: 91.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.5522, allocations: 56.56 kB / 0.5051 GB, free: 91.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.97e-06/0.5522, allocations: 0 / 0.5051 GB, free: 91.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.01714/0.5694, allocations: 10.3 MB / 0.5152 GB, free: 81.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001521/0.5709, allocations: 1.871 MB / 0.517 GB, free: 79.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.5751, allocations: 3.637 MB / 0.5205 GB, free: 76.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.5754, allocations: 65.7 kB / 0.5206 GB, free: 76.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.5768, allocations: 3.68 MB / 0.5242 GB, free: 72.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000625/0.5774, allocations: 0.8514 MB / 0.525 GB, free: 71.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.5786, allocations: 0.9574 MB / 0.526 GB, free: 71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.5786, allocations: 305.1 kB / 0.5263 GB, free: 70.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.581, allocations: 1.899 MB / 0.5281 GB, free: 68.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.5841, allocations: 4.446 MB / 0.5325 GB, free: 63.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005916/0.5901, allocations: 6.801 MB / 0.5391 GB, free: 55.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.227e-05/0.5901, allocations: 24 kB / 0.5391 GB, free: 55.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0101/0.6002, allocations: 6.972 MB / 0.5459 GB, free: 48.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.6003, allocations: 48.06 kB / 0.546 GB, free: 48.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.6004, allocations: 84 kB / 0.5461 GB, free: 47.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.6023, allocations: 0.7413 MB / 0.5468 GB, free: 47.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/0.6058, allocations: 1.119 MB / 0.5479 GB, free: 46.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/0.6119, allocations: 5.401 MB / 0.5532 GB, free: 40.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/0.6164, allocations: 319.4 kB / 0.5535 GB, free: 40.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/0.6173, allocations: 275.7 kB / 0.5537 GB, free: 39.99 MB / 430.1 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.004196/0.6215, allocations: 2.53 MB / 0.5562 GB, free: 37.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009651/0.6224, allocations: 377.5 kB / 0.5565 GB, free: 37.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.629, allocations: 4.226 MB / 0.5607 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6291, allocations: 28 kB / 0.5607 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6291, allocations: 4 kB / 0.5607 GB, free: 32.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.6291, allocations: 11.95 kB / 0.5607 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.6475, allocations: 12.66 MB / 0.5731 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.6475, allocations: 12 kB / 0.5731 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.6493, allocations: 487.2 kB / 0.5736 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.6513, allocations: 0.69 MB / 0.5742 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.6515, allocations: 71.97 kB / 0.5743 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007589/0.6591, allocations: 7.121 MB / 0.5813 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001327/0.6604, allocations: 1.823 MB / 0.583 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/0.6692, allocations: 6.694 MB / 0.5896 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.671, allocations: 0.7276 MB / 0.5903 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/0.6715, allocations: 60 kB / 0.5903 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.6734, allocations: 163.8 kB / 0.5905 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/0.6738, allocations: 233.4 kB / 0.5907 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.674, allocations: 91.97 kB / 0.5908 GB, free: 1.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003312/0.6773, allocations: 2.276 MB / 0.593 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6773, allocations: 0 / 0.593 GB, free: 14.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005226/0.6825, allocations: 1.289 MB / 0.5943 GB, free: 13.63 MB / 446.1 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.000642/0.6832, allocations: 238.5 kB / 0.5945 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009066/0.6922, allocations: 4.826 MB / 0.5992 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.6922, allocations: 4 kB / 0.5992 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004446/0.6967, allocations: 2.186 MB / 0.6014 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/0.7018, allocations: 0.8702 MB / 0.6022 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/0.7257, allocations: 12.47 MB / 0.6144 GB, free: 8.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/0.7318, allocations: 4.012 MB / 0.6183 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004038/0.7358, allocations: 1.326 MB / 0.6196 GB, free: 3.422 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/0.7367, allocations: 308.4 kB / 0.6199 GB, free: 3.121 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7367, allocations: 0 / 0.6199 GB, free: 3.121 MB / 462.1 MB Notification: Performance of Templates: time 0.2509/0.9876, allocations: 47.98 MB / 0.6668 GB, free: 139 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.101370062679052]