Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.2 kB / 20.89 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 194.4 kB / 24.13 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 207.6 MB / 234.8 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 51.91 kB / 347 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.218, allocations: 49.12 MB / 396.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01376/0.2318, allocations: 15.25 MB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009808/0.2416, allocations: 5.146 MB / 416.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.2431, allocations: 87.41 kB / 416.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.2456, allocations: 1.132 MB / 417.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.2487, allocations: 1.303 MB / 419 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.2506, allocations: 0.9091 MB / 419.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.2544, allocations: 3.619 MB / 423.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.2568, allocations: 1.87 MB / 425.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.2589, allocations: 1.727 MB / 427.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.2615, allocations: 2.086 MB / 429.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006303/0.2621, allocations: 484.2 kB / 429.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2634, allocations: 0.6794 MB / 430.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.2645, allocations: 1.153 MB / 431.5 MB, free: 264 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.2666, allocations: 2.042 MB / 433.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00633/0.2729, allocations: 6.273 MB / 439.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2729, allocations: 0 / 439.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2729, allocations: 4 kB / 439.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.273, allocations: 0 / 439.8 MB, free: 7.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.009022/0.282, allocations: 4.32 MB / 444.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.282, allocations: 11.98 kB / 444.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.2848, allocations: 0.6427 MB / 444.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.2888, allocations: 2.145 MB / 447 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.289, allocations: 234.7 kB / 447.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/0.2895, allocations: 324.1 kB / 447.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006724/0.2962, allocations: 4.043 MB / 451.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.488e-05/0.2963, allocations: 7.938 kB / 451.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.2966, allocations: 128 kB / 451.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.2967, allocations: 150.2 kB / 451.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005957/0.3027, allocations: 3.374 MB / 455.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.3226, allocations: 13.2 MB / 468.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.3272, allocations: 3.876 MB / 472.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.3288, allocations: 0.8981 MB / 473.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004668/0.3335, allocations: 2.65 MB / 475.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.3335, allocations: 47.56 kB / 475.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=108): time 2.414e-06/0.3335, allocations: 0 / 475.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01187/0.3454, allocations: 6.057 MB / 481.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3454, allocations: 68.72 kB / 482 MB, free: 12.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.3482, allocations: 1.893 MB / 483.9 MB, free: 10.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.3483, allocations: 49.7 kB / 483.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.3495, allocations: 1.54 MB / 485.5 MB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.3499, allocations: 0.5074 MB / 486 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.3505, allocations: 327.4 kB / 486.3 MB, free: 8.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3506, allocations: 305.1 kB / 486.6 MB, free: 7.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.3519, allocations: 0.773 MB / 487.4 MB, free: 6.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.3537, allocations: 1.367 MB / 488.7 MB, free: 5.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.357, allocations: 2.32 MB / 491.1 MB, free: 2.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.357, allocations: 11.94 kB / 491.1 MB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004186/0.3612, allocations: 2.479 MB / 493.5 MB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.3612, allocations: 19.91 kB / 493.6 MB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.3613, allocations: 20 kB / 493.6 MB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.3616, allocations: 122.5 kB / 493.7 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.3635, allocations: 491.3 kB / 494.2 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.3647, allocations: 1.41 MB / 495.6 MB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.366, allocations: 111.9 kB / 495.7 MB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3661, allocations: 79.98 kB / 495.8 MB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (232): * Single equations (assignments): 229 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001597/0.3677, allocations: 0.9852 MB / 496.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.3681, allocations: 214.6 kB / 497 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.3717, allocations: 1.961 MB / 498.9 MB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.3717, allocations: 3.984 kB / 498.9 MB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3717, allocations: 0 / 498.9 MB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008895/0.3726, allocations: 463.6 kB / 499.4 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.3728, allocations: 27.94 kB / 499.4 MB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.3737, allocations: 79.91 kB / 499.5 MB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3739, allocations: 81.19 kB / 499.6 MB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004115/0.378, allocations: 1.972 MB / 0.4898 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004641/0.3827, allocations: 3.031 MB / 0.4928 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/0.3838, allocations: 0.7364 MB / 0.4935 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.3858, allocations: 1.289 MB / 0.4947 GB, free: 2.887 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.3858, allocations: 0 / 0.4947 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.389, allocations: 1.625 MB / 0.4963 GB, free: 1.199 MB / 414.1 MB Notification: Performance of SimCode: time 0.009294/0.3983, allocations: 5.819 MB / 0.502 GB, free: 11.31 MB / 430.1 MB Notification: Performance of Templates: time 0.05914/0.4574, allocations: 33.6 MB / 0.5348 GB, free: 9.641 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 5.2388540980173275]