Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001823/0.001823, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002228/0.002228, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2174, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.01772/0.2351, allocations: 13.79 MB / 446.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.2436, allocations: 5.073 MB / 451.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2447, allocations: 123.2 kB / 451.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.247, allocations: 1.068 MB / 452.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.2497, allocations: 1.274 MB / 453.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2516, allocations: 0.9037 MB / 454.6 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.2554, allocations: 3.649 MB / 458.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.2579, allocations: 1.924 MB / 460.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.2599, allocations: 1.791 MB / 462 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.2625, allocations: 2.152 MB / 464.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.2631, allocations: 480 kB / 464.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.2642, allocations: 0.6834 MB / 465.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.2654, allocations: 1.165 MB / 466.4 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.2672, allocations: 1.622 MB / 468.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.2736, allocations: 6.345 MB / 474.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2736, allocations: 0 / 474.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2736, allocations: 0 / 474.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.329e-05/0.2737, allocations: 0 / 474.4 MB, free: 12.46 MB / 382.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.009435/0.2831, allocations: 4.283 MB / 478.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2831, allocations: 12.03 kB / 478.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.2861, allocations: 0.6271 MB / 479.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.2906, allocations: 2.21 MB / 481.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.2908, allocations: 238.7 kB / 481.8 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/0.2913, allocations: 320.1 kB / 482.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007054/0.2983, allocations: 4.122 MB / 486.2 MB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/0.2984, allocations: 11.94 kB / 486.2 MB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/0.2987, allocations: 128 kB / 486.3 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.2989, allocations: 146.2 kB / 486.5 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00588/0.3048, allocations: 3.382 MB / 489.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.3228, allocations: 11.31 MB / 0.4894 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.3264, allocations: 1.749 MB / 0.4911 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.3281, allocations: 0.9336 MB / 0.492 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00445/0.3325, allocations: 2.148 MB / 0.4941 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3326, allocations: 47.56 kB / 0.4942 GB, free: 12.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 2.825e-06/0.3326, allocations: 0 / 0.4942 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=142): time 0.01176/0.3443, allocations: 5.81 MB / 0.4999 GB, free: 6.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3444, allocations: 68.66 kB / 0.4999 GB, free: 6.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.3468, allocations: 1.752 MB / 0.5016 GB, free: 4.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/0.3469, allocations: 49.7 kB / 0.5017 GB, free: 4.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3481, allocations: 1.571 MB / 0.5032 GB, free: 2.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.3486, allocations: 0.5035 MB / 0.5037 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/0.3491, allocations: 339.4 kB / 0.504 GB, free: 2.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3493, allocations: 301.1 kB / 0.5043 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3506, allocations: 0.773 MB / 0.5051 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.3524, allocations: 1.404 MB / 0.5064 GB, free: 15.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.3558, allocations: 2.316 MB / 0.5087 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.3559, allocations: 8 kB / 0.5087 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00417/0.36, allocations: 2.466 MB / 0.5111 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.3601, allocations: 12 kB / 0.5111 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.3601, allocations: 20.78 kB / 0.5112 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.3604, allocations: 126.5 kB / 0.5113 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.3623, allocations: 479.2 kB / 0.5117 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3635, allocations: 1.287 MB / 0.513 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.3647, allocations: 119.8 kB / 0.5131 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.3649, allocations: 79.98 kB / 0.5132 GB, free: 8.016 MB / 430.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.001504/0.3664, allocations: 0.985 MB / 0.5141 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.3667, allocations: 210.8 kB / 0.5143 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.3702, allocations: 1.949 MB / 0.5162 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.3702, allocations: 7.969 kB / 0.5163 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3702, allocations: 0 / 0.5163 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/0.3711, allocations: 370.5 kB / 0.5166 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.3713, allocations: 24 kB / 0.5166 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.3722, allocations: 75.91 kB / 0.5167 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3724, allocations: 93.12 kB / 0.5168 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003984/0.3764, allocations: 1.952 MB / 0.5187 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004498/0.3809, allocations: 3.015 MB / 0.5216 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/0.3821, allocations: 0.7402 MB / 0.5224 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.3838, allocations: 1.16 MB / 0.5235 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.3838, allocations: 0 / 0.5235 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.3869, allocations: 1.482 MB / 0.5249 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 0.009141/0.396, allocations: 5.752 MB / 0.5306 GB, free: 6.07 MB / 446.1 MB Notification: Performance of Templates: time 0.201/0.5971, allocations: 36.69 MB / 0.5664 GB, free: 81.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 5.633330908000062]