Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.001257/0.001257, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001338/0.001338, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.001945/0.001945, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2054, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.01901/0.2244, allocations: 15.94 MB / 448 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009546/0.2339, allocations: 5.37 MB / 453.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.2359, allocations: 103.6 kB / 453.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.2386, allocations: 1.142 MB / 454.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.2417, allocations: 1.286 MB / 455.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2435, allocations: 0.9376 MB / 456.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.2473, allocations: 3.643 MB / 460.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.2498, allocations: 1.92 MB / 462.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.2517, allocations: 1.745 MB / 464.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.2544, allocations: 2.152 MB / 466.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.255, allocations: 480 kB / 466.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.2561, allocations: 0.699 MB / 467.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.2572, allocations: 1.161 MB / 468.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.2592, allocations: 2.053 MB / 470.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.2654, allocations: 6.314 MB / 477 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2654, allocations: 3.938 kB / 477 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2654, allocations: 4 kB / 477 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.656e-05/0.2655, allocations: 0 / 477 MB, free: 10.2 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.009049/0.2745, allocations: 4.362 MB / 481.4 MB, free: 5.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2746, allocations: 8.031 kB / 481.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.2774, allocations: 0.631 MB / 482 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.2815, allocations: 2.309 MB / 484.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.2817, allocations: 238.7 kB / 484.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/0.2822, allocations: 316.1 kB / 484.9 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.2886, allocations: 4.051 MB / 488.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/0.2887, allocations: 7.953 kB / 488.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.289, allocations: 132 kB / 489.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.2892, allocations: 146.2 kB / 489.2 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.2948, allocations: 3.393 MB / 492.6 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.3136, allocations: 13.39 MB / 0.4941 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/0.3183, allocations: 4.174 MB / 0.4982 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.3199, allocations: 0.9259 MB / 0.4991 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/0.3246, allocations: 2.863 MB / 0.5019 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.3246, allocations: 51.48 kB / 0.5019 GB, free: 3.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=108): time 2.394e-06/0.3246, allocations: 0 / 0.5019 GB, free: 3.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=142): time 0.0148/0.3394, allocations: 6.04 MB / 0.5078 GB, free: 13.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.3395, allocations: 64.72 kB / 0.5079 GB, free: 13.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.3437, allocations: 1.913 MB / 0.5098 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.3439, allocations: 53.7 kB / 0.5098 GB, free: 11.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.3457, allocations: 1.556 MB / 0.5113 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006305/0.3464, allocations: 0.4997 MB / 0.5118 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008706/0.3472, allocations: 339.4 kB / 0.5122 GB, free: 9.219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3474, allocations: 301.1 kB / 0.5124 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.3495, allocations: 0.7691 MB / 0.5132 GB, free: 8.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.3522, allocations: 1.375 MB / 0.5145 GB, free: 6.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/0.3574, allocations: 2.32 MB / 0.5168 GB, free: 3.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.3574, allocations: 8 kB / 0.5168 GB, free: 3.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006553/0.364, allocations: 2.482 MB / 0.5192 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.364, allocations: 16.72 kB / 0.5192 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.3641, allocations: 23.94 kB / 0.5193 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.3646, allocations: 122.5 kB / 0.5194 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.3675, allocations: 479.2 kB / 0.5198 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.3691, allocations: 1.406 MB / 0.5212 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.3713, allocations: 123.9 kB / 0.5213 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.3715, allocations: 80 kB / 0.5214 GB, free: 15.03 MB / 446.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.002462/0.3739, allocations: 0.9928 MB / 0.5224 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.3745, allocations: 210.6 kB / 0.5226 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.3797, allocations: 1.969 MB / 0.5245 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.3797, allocations: 3.984 kB / 0.5245 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3797, allocations: 0 / 0.5245 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.3811, allocations: 471.6 kB / 0.525 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.3815, allocations: 20 kB / 0.525 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.383, allocations: 87.89 kB / 0.5251 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.3832, allocations: 77.2 kB / 0.5251 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005883/0.3891, allocations: 1.96 MB / 0.527 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00515/0.3942, allocations: 3.031 MB / 0.53 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001139/0.3954, allocations: 0.7441 MB / 0.5307 GB, free: 5.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002019/0.3974, allocations: 1.297 MB / 0.532 GB, free: 4.074 MB / 446.1 MB Notification: Performance of Backend: time 2e-07/0.3974, allocations: 3.938 kB / 0.532 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.4008, allocations: 1.643 MB / 0.5336 GB, free: 2.363 MB / 446.1 MB Notification: Performance of SimCode: time 0.1931/0.5939, allocations: 5.839 MB / 0.5393 GB, free: 101 MB / 446.1 MB Notification: Performance of Templates: time 0.0455/0.6394, allocations: 34.16 MB / 0.5727 GB, free: 75.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.454417760949582]