Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001551/0.001551, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001711/0.001711, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.84 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.037/0.2856, allocations: 31.18 MB / 463.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02061/0.3062, allocations: 8.919 MB / 472.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.312, allocations: 191.4 kB / 472.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.3248, allocations: 5.002 MB / 477.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.3351, allocations: 3.069 MB / 480.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.3406, allocations: 1.646 MB / 482.1 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.3537, allocations: 8.821 MB / 490.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/0.3697, allocations: 8.387 MB / 499.3 MB, free: 3.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007324/0.377, allocations: 4.261 MB / 0.4917 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008764/0.3857, allocations: 4.882 MB / 0.4965 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003722/0.3895, allocations: 1.168 MB / 0.4977 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.3943, allocations: 1.558 MB / 0.4992 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003735/0.398, allocations: 2.415 MB / 0.5015 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008129/0.4061, allocations: 4.684 MB / 0.5061 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.4271, allocations: 15.88 MB / 0.5216 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4271, allocations: 0 / 0.5216 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4271, allocations: 3.938 kB / 0.5216 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003932/0.4275, allocations: 0 / 0.5216 GB, free: 0.8711 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.03065/0.4581, allocations: 9.971 MB / 0.5314 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4582, allocations: 8.031 kB / 0.5314 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02955/0.4877, allocations: 5.224 MB / 0.5365 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2284/0.7161, allocations: 5.136 MB / 0.5415 GB, free: 89.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/0.7165, allocations: 0.5323 MB / 0.542 GB, free: 89.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.7191, allocations: 0.7124 MB / 0.5427 GB, free: 89.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.7463, allocations: 11.35 MB / 0.5538 GB, free: 84.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002461/0.7465, allocations: 17.62 kB / 0.5538 GB, free: 84.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/0.7479, allocations: 297.8 kB / 0.5541 GB, free: 84.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/0.7482, allocations: 447.5 kB / 0.5545 GB, free: 84.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.7663, allocations: 10.87 MB / 0.5651 GB, free: 76.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.054/0.8203, allocations: 38.59 MB / 0.6028 GB, free: 37.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.8349, allocations: 27.99 MB / 0.6301 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.8386, allocations: 2.452 MB / 0.6325 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01696/0.8556, allocations: 8.459 MB / 0.6408 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.8556, allocations: 56.5 kB / 0.6409 GB, free: 10.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 4.519e-06/0.8556, allocations: 4 kB / 0.6409 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.02344/0.8791, allocations: 10.47 MB / 0.6511 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002324/0.8814, allocations: 2.003 MB / 0.653 GB, free: 14.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/0.8891, allocations: 3.843 MB / 0.6568 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.8895, allocations: 65.7 kB / 0.6568 GB, free: 10.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003114/0.8926, allocations: 3.687 MB / 0.6604 GB, free: 6.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.8938, allocations: 0.8694 MB / 0.6613 GB, free: 5.855 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002218/0.896, allocations: 0.9614 MB / 0.6622 GB, free: 4.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8961, allocations: 313.1 kB / 0.6625 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/0.8994, allocations: 1.892 MB / 0.6644 GB, free: 2.676 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/0.905, allocations: 4.399 MB / 0.6687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.9145, allocations: 6.796 MB / 0.6753 GB, free: 5.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-05/0.9146, allocations: 31.94 kB / 0.6753 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01438/0.929, allocations: 7.002 MB / 0.6822 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.9291, allocations: 43.47 kB / 0.6822 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/0.9292, allocations: 95.92 kB / 0.6823 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.9314, allocations: 0.7339 MB / 0.683 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/0.9356, allocations: 1.127 MB / 0.6841 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/0.9442, allocations: 5.633 MB / 0.6896 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.9485, allocations: 315.4 kB / 0.6899 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/0.9493, allocations: 276 kB / 0.6902 GB, free: 5.637 MB / 0.4981 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.005295/0.9546, allocations: 2.529 MB / 0.6927 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.9558, allocations: 405.4 kB / 0.6931 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.9649, allocations: 4.249 MB / 0.6972 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.965, allocations: 32 kB / 0.6972 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.965, allocations: 8 kB / 0.6972 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.965, allocations: 15.89 kB / 0.6973 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02944/0.9945, allocations: 14.3 MB / 0.7112 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.9945, allocations: 8 kB / 0.7112 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.9966, allocations: 484 kB / 0.7117 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.9988, allocations: 0.6936 MB / 0.7124 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/0.9992, allocations: 71.97 kB / 0.7124 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.01, allocations: 7.51 MB / 0.7198 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002062/1.012, allocations: 1.945 MB / 0.7217 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.024, allocations: 6.758 MB / 0.7283 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.026, allocations: 0.8185 MB / 0.7291 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.027, allocations: 63.94 kB / 0.7291 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.03, allocations: 163.9 kB / 0.7293 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004994/1.03, allocations: 225.4 kB / 0.7295 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.031, allocations: 96.34 kB / 0.7296 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005061/1.036, allocations: 2.518 MB / 0.7321 GB, free: 9.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0 / 0.7321 GB, free: 9.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0059/1.042, allocations: 1.297 MB / 0.7333 GB, free: 8.48 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.0007064/1.042, allocations: 258.7 kB / 0.7336 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009372/1.052, allocations: 4.966 MB / 0.7384 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.052, allocations: 4 kB / 0.7384 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/1.056, allocations: 2.256 MB / 0.7406 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2169/1.273, allocations: 1.007 MB / 0.7416 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.294, allocations: 12.47 MB / 0.7538 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/1.298, allocations: 4.388 MB / 0.7581 GB, free: 181.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.299, allocations: 351.2 kB / 0.7584 GB, free: 181.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.299, allocations: 1.312 kB / 0.7584 GB, free: 181.8 MB / 0.545 GB Notification: Performance of Templates: time 0.4065/1.706, allocations: 203.3 MB / 0.9569 GB, free: 176.4 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 16.714419024065137]