Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.001283/0.001283, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.00137/0.00137, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2083, allocations: 53.36 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.04459/0.2529, allocations: 35.85 MB / 468.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02191/0.2748, allocations: 10.9 MB / 479.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005352/0.2801, allocations: 377.9 kB / 479.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01983/0.2999, allocations: 8.257 MB / 487.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.3113, allocations: 3.682 MB / 491.5 MB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006374/0.3177, allocations: 2.415 MB / 493.9 MB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.3343, allocations: 13.51 MB / 0.4955 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02546/0.3597, allocations: 17.63 MB / 0.5127 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009259/0.369, allocations: 7.165 MB / 0.5197 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.3805, allocations: 8.106 MB / 0.5276 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003355/0.3839, allocations: 1.992 MB / 0.5296 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.3886, allocations: 2.402 MB / 0.5319 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.3923, allocations: 4.048 MB / 0.5359 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2008/0.5931, allocations: 6.069 MB / 0.5418 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.6148, allocations: 26.66 MB / 0.5678 GB, free: 26.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6148, allocations: 4.156 kB / 0.5678 GB, free: 26.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6148, allocations: 0 / 0.5678 GB, free: 26.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005854/0.6154, allocations: 0.7812 kB / 0.5678 GB, free: 26.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.04202/0.6574, allocations: 15.69 MB / 0.5831 GB, free: 19.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6575, allocations: 15.16 kB / 0.5832 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03398/0.6915, allocations: 6.195 MB / 0.5892 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/0.71, allocations: 8.308 MB / 0.5973 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007769/0.7108, allocations: 0.9247 MB / 0.5982 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004495/0.7153, allocations: 1.219 MB / 0.5994 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/0.7601, allocations: 19.28 MB / 0.6182 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004781/0.7606, allocations: 31.36 kB / 0.6183 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003551/0.7642, allocations: 0.5017 MB / 0.6188 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007778/0.765, allocations: 0.6582 MB / 0.6194 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03622/0.8012, allocations: 17.01 MB / 0.636 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09512/0.8963, allocations: 52.04 MB / 0.6868 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.9147, allocations: 10.4 MB / 0.697 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005629/0.9203, allocations: 3.478 MB / 0.7004 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/0.9371, allocations: 7.872 MB / 0.7081 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.9371, allocations: 73.41 kB / 0.7081 GB, free: 12.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=361): time 6.221e-06/0.9371, allocations: 0 / 0.7081 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=403): time 0.03681/0.974, allocations: 17.52 MB / 0.7252 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.974, allocations: 94.05 kB / 0.7253 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/0.9817, allocations: 5.002 MB / 0.7302 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.982, allocations: 89.7 kB / 0.7303 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004276/0.9863, allocations: 5.829 MB / 0.736 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.9877, allocations: 1.47 MB / 0.7374 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002236/0.9899, allocations: 1.374 MB / 0.7388 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.99, allocations: 304.9 kB / 0.7391 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/0.9948, allocations: 2.973 MB / 0.742 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007288/1.002, allocations: 6.064 MB / 0.7479 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2061/1.208, allocations: 9.683 MB / 0.7573 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.981e-05/1.208, allocations: 28.25 kB / 0.7574 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.0141/1.222, allocations: 10.07 MB / 0.7672 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/1.222, allocations: 49 kB / 0.7673 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-05/1.222, allocations: 102.5 kB / 0.7674 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/1.225, allocations: 0.942 MB / 0.7683 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/1.23, allocations: 1.633 MB / 0.7699 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/1.239, allocations: 9.688 MB / 0.7793 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/1.244, allocations: 423.9 kB / 0.7797 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/1.244, allocations: 365.3 kB / 0.7801 GB, free: 187.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (841): * Single equations (assignments): 836 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005387/1.249, allocations: 4.305 MB / 0.7843 GB, free: 185 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008479/1.25, allocations: 0.5343 MB / 0.7848 GB, free: 185 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009344/1.26, allocations: 6.617 MB / 0.7913 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.26, allocations: 26.8 kB / 0.7913 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.26, allocations: 0 / 0.7913 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.262, allocations: 1.015 MB / 0.7923 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/1.263, allocations: 73.83 kB / 0.7924 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.265, allocations: 226.1 kB / 0.7926 GB, free: 181.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.265, allocations: 304.9 kB / 0.7929 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009368/1.275, allocations: 6.192 MB / 0.7989 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009091/1.284, allocations: 8.26 MB / 0.807 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002427/1.286, allocations: 2.345 MB / 0.8093 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003817/1.29, allocations: 3.199 MB / 0.8124 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of Backend: time 2.7e-07/1.29, allocations: 4 kB / 0.8124 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008684/1.299, allocations: 5.548 MB / 0.8178 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02693/1.326, allocations: 20.16 MB / 0.8375 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1346/1.46, allocations: 104.4 MB / 0.9394 GB, free: 36.96 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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: 9.0584869910017]