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.001863/0.001863, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.002397/0.002397, allocations: 160.1 kB / 24.49 MB, free: 3.453 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.407/1.407, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 179] 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 0.001953/0.001953, allocations: 57.84 kB / 325.6 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.09065, allocations: 53.39 MB / 379 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03238/0.123, allocations: 26.62 MB / 405.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1401, allocations: 8.565 MB / 414.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.1441, allocations: 226.9 kB / 414.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.1559, allocations: 4.84 MB / 419.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008683/0.1646, allocations: 3.054 MB / 422.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.1691, allocations: 1.598 MB / 423.9 MB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.1811, allocations: 8.861 MB / 432.7 MB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.1943, allocations: 9.08 MB / 441.8 MB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.2004, allocations: 4.351 MB / 446.1 MB, free: 11.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007564/0.208, allocations: 4.616 MB / 450.8 MB, free: 7.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002112/0.2101, allocations: 1.16 MB / 451.9 MB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.2135, allocations: 1.531 MB / 453.4 MB, free: 4.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.216, allocations: 2.419 MB / 455.9 MB, free: 2.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00525/0.2212, allocations: 3.657 MB / 459.5 MB, free: 14.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2026/0.4238, allocations: 15.94 MB / 475.5 MB, free: 30.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4238, allocations: 0 / 475.5 MB, free: 30.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4238, allocations: 3.938 kB / 475.5 MB, free: 30.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003494/0.4242, allocations: 0 / 475.5 MB, free: 30.68 MB / 430.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.0257/0.4499, allocations: 9.874 MB / 485.3 MB, free: 27.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4499, allocations: 12 kB / 485.4 MB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/0.4787, allocations: 5.228 MB / 490.6 MB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.4902, allocations: 5.116 MB / 495.7 MB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/0.4907, allocations: 0.5338 MB / 496.2 MB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/0.4933, allocations: 0.7133 MB / 496.9 MB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.5179, allocations: 11.57 MB / 0.4966 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.5182, allocations: 19.66 kB / 0.4966 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/0.5201, allocations: 300.5 kB / 0.4969 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003843/0.5205, allocations: 444.5 kB / 0.4973 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.5395, allocations: 10.81 MB / 0.5079 GB, free: 16.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05836/0.5979, allocations: 32.7 MB / 0.5398 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.6119, allocations: 7.432 MB / 0.5471 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/0.6161, allocations: 2.443 MB / 0.5495 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.6298, allocations: 6.905 MB / 0.5562 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.6299, allocations: 56.22 kB / 0.5563 GB, free: 160 kB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 4.138e-06/0.6299, allocations: 0 / 0.5563 GB, free: 160 kB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.02205/0.6519, allocations: 10.29 MB / 0.5663 GB, free: 5.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002261/0.6542, allocations: 1.865 MB / 0.5681 GB, free: 3.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/0.6605, allocations: 3.637 MB / 0.5717 GB, free: 308 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.6608, allocations: 61.7 kB / 0.5718 GB, free: 240 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002896/0.6637, allocations: 3.702 MB / 0.5754 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/0.6647, allocations: 0.8687 MB / 0.5762 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.6664, allocations: 0.9653 MB / 0.5772 GB, free: 10.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6665, allocations: 301.1 kB / 0.5774 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.6699, allocations: 1.895 MB / 0.5793 GB, free: 8.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/0.6755, allocations: 4.441 MB / 0.5836 GB, free: 2.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009247/0.6847, allocations: 6.809 MB / 0.5903 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.563e-05/0.6848, allocations: 24 kB / 0.5903 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01318/0.698, allocations: 6.971 MB / 0.5971 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.6981, allocations: 40.97 kB / 0.5972 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.6982, allocations: 88 kB / 0.5972 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.7004, allocations: 0.7374 MB / 0.598 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/0.7045, allocations: 1.13 MB / 0.5991 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/0.7128, allocations: 5.407 MB / 0.6043 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/0.7169, allocations: 315.4 kB / 0.6046 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008198/0.7177, allocations: 274.5 kB / 0.6049 GB, free: 12.77 MB / 0.5137 GB 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.004783/0.7225, allocations: 2.523 MB / 0.6074 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.7235, allocations: 377.6 kB / 0.6077 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008446/0.732, allocations: 4.235 MB / 0.6119 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.732, allocations: 28 kB / 0.6119 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.732, allocations: 8 kB / 0.6119 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.732, allocations: 11.95 kB / 0.6119 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/0.7565, allocations: 12.67 MB / 0.6243 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.7565, allocations: 12 kB / 0.6243 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/0.7586, allocations: 485.9 kB / 0.6248 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.7608, allocations: 0.6897 MB / 0.6254 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/0.761, allocations: 71.98 kB / 0.6255 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.7716, allocations: 7.121 MB / 0.6324 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002044/0.7736, allocations: 1.812 MB / 0.6342 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.785, allocations: 6.73 MB / 0.6408 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/0.7872, allocations: 0.7277 MB / 0.6415 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006703/0.7879, allocations: 66.55 kB / 0.6416 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.7898, allocations: 156.2 kB / 0.6417 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.7902, allocations: 235.8 kB / 0.6419 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.7904, allocations: 91.98 kB / 0.642 GB, free: 6.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003659/0.7941, allocations: 2.276 MB / 0.6442 GB, free: 4.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7941, allocations: 0 / 0.6442 GB, free: 4.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005022/0.7991, allocations: 1.293 MB / 0.6455 GB, free: 2.719 MB / 0.545 GB 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.0005193/0.7996, allocations: 231.8 kB / 0.6457 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008231/0.8079, allocations: 4.816 MB / 0.6504 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.8079, allocations: 4 kB / 0.6504 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.8118, allocations: 2.186 MB / 0.6526 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/0.816, allocations: 0.8765 MB / 0.6534 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/0.8365, allocations: 12.52 MB / 0.6657 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004826/0.8414, allocations: 4.019 MB / 0.6696 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003752/0.8451, allocations: 1.322 MB / 0.6709 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.8459, allocations: 292.4 kB / 0.6712 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.8459, allocations: 4 kB / 0.6712 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.2683/1.114, allocations: 48.36 MB / 0.7184 GB, free: 196.3 MB / 0.5762 GB " [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 -s ida -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/jenkins1/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/jenkins1/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.009467996074818]