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.SMR_CurrentSource.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.001294/0.001294, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001383/0.001383, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.176 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.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [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.002091/0.002091, allocations: 68.06 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.217, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.04654/0.2636, allocations: 40.32 MB / 472.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.2864, allocations: 10.69 MB / 483.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006844/0.2933, allocations: 307 kB / 483.4 MB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0209/0.3142, allocations: 8.647 MB / 492.1 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.3255, allocations: 3.496 MB / 495.6 MB, free: 7.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006722/0.3322, allocations: 2.389 MB / 498 MB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0174/0.3496, allocations: 12.97 MB / 0.499 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02891/0.3785, allocations: 16.2 MB / 0.5148 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.3888, allocations: 6.841 MB / 0.5215 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/0.4022, allocations: 7.919 MB / 0.5292 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005848/0.4081, allocations: 1.953 MB / 0.5311 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006796/0.4149, allocations: 2.367 MB / 0.5334 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005905/0.4208, allocations: 3.97 MB / 0.5373 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2126/0.6334, allocations: 7.558 MB / 0.5447 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02421/0.6576, allocations: 25.98 MB / 0.57 GB, free: 24.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6576, allocations: 0 / 0.57 GB, free: 24.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6576, allocations: 2.656 kB / 0.57 GB, free: 24.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006542/0.6583, allocations: 1.812 kB / 0.57 GB, free: 24.44 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: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.04095/0.6992, allocations: 15.33 MB / 0.585 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6993, allocations: 6.875 kB / 0.585 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0324/0.7317, allocations: 6.126 MB / 0.591 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/0.7493, allocations: 8.104 MB / 0.5989 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006846/0.75, allocations: 0.9019 MB / 0.5998 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/0.7544, allocations: 1.2 MB / 0.601 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/0.7955, allocations: 18.69 MB / 0.6192 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/0.7958, allocations: 27.83 kB / 0.6192 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001659/0.7975, allocations: 0.4899 MB / 0.6197 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006733/0.7981, allocations: 0.6382 MB / 0.6203 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03551/0.8336, allocations: 16.8 MB / 0.6367 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1173/0.9509, allocations: 58.99 MB / 0.6944 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03137/0.9823, allocations: 32.8 MB / 0.7264 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/0.9892, allocations: 3.414 MB / 0.7297 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01985/1.009, allocations: 8.882 MB / 0.7384 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/1.009, allocations: 77.25 kB / 0.7385 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=349): time 5.1e-06/1.009, allocations: 0 / 0.7385 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=389): time 0.03882/1.048, allocations: 17.73 MB / 0.7558 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/1.048, allocations: 94.12 kB / 0.7559 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2103/1.258, allocations: 5.038 MB / 0.7608 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000651/1.259, allocations: 92.83 kB / 0.7609 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.262, allocations: 5.64 MB / 0.7664 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.263, allocations: 1.418 MB / 0.7678 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/1.264, allocations: 1.333 MB / 0.7691 GB, free: 218.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/1.264, allocations: 304 kB / 0.7694 GB, free: 217.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/1.268, allocations: 2.909 MB / 0.7722 GB, free: 217.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/1.273, allocations: 5.886 MB / 0.778 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/1.281, allocations: 9.449 MB / 0.7872 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-05/1.281, allocations: 31.03 kB / 0.7872 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01268/1.294, allocations: 9.874 MB / 0.7969 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/1.294, allocations: 47 kB / 0.7969 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/1.294, allocations: 104.4 kB / 0.797 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/1.296, allocations: 0.9382 MB / 0.7979 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/1.301, allocations: 1.582 MB / 0.7995 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009512/1.311, allocations: 10.2 MB / 0.8094 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/1.315, allocations: 404.2 kB / 0.8098 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.316, allocations: 355.1 kB / 0.8101 GB, free: 193 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * 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.00544/1.321, allocations: 4.244 MB / 0.8143 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009438/1.322, allocations: 0.5538 MB / 0.8148 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00918/1.331, allocations: 6.45 MB / 0.8211 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-05/1.331, allocations: 23.08 kB / 0.8212 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.331, allocations: 4 kB / 0.8212 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.334, allocations: 1.078 MB / 0.8222 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006818/1.334, allocations: 68 kB / 0.8223 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.337, allocations: 228.3 kB / 0.8225 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/1.337, allocations: 273.1 kB / 0.8228 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00934/1.346, allocations: 6.095 MB / 0.8287 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009089/1.355, allocations: 8.068 MB / 0.8366 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002453/1.358, allocations: 2.289 MB / 0.8388 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004227/1.362, allocations: 3.359 MB / 0.8421 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of Backend: time 1.4e-07/1.362, allocations: 0 / 0.8421 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009072/1.371, allocations: 5.597 MB / 0.8476 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02603/1.397, allocations: 19.79 MB / 0.8669 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1277/1.525, allocations: 91.93 MB / 0.9567 GB, free: 47.91 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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: 8.586013967171311]