Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 185.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB 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: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001198/0.001198, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1061, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.2415/0.3477, allocations: 10.89 MB / 386.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.3555, allocations: 3.679 MB / 390.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.3579, allocations: 56.28 kB / 390.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.3602, allocations: 0.8131 MB / 391.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.3639, allocations: 0.8612 MB / 392.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.3653, allocations: 465.8 kB / 392.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.3696, allocations: 2.956 MB / 395.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.3728, allocations: 2.679 MB / 398.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.3753, allocations: 1.369 MB / 399.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.3778, allocations: 1.752 MB / 401.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000583/0.3784, allocations: 373.9 kB / 401.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3797, allocations: 476.4 kB / 402.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.3811, allocations: 1.079 MB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.3835, allocations: 1.67 MB / 404.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007256/0.3907, allocations: 4.878 MB / 409.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.3908, allocations: 1.406 kB / 409.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3908, allocations: 0 / 409.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.391, allocations: 0 / 409.8 MB, free: 10.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01055/0.4016, allocations: 3.391 MB / 413.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4017, allocations: 9.312 kB / 413.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.4029, allocations: 342 kB / 413.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4063, allocations: 1.704 MB / 415.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4065, allocations: 191.3 kB / 415.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/0.4069, allocations: 252 kB / 415.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.4133, allocations: 3.279 MB / 418.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-05/0.4134, allocations: 15.84 kB / 419 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.4136, allocations: 104 kB / 419.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.4138, allocations: 124.9 kB / 419.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.4184, allocations: 2.748 MB / 421.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.4354, allocations: 10.39 MB / 432.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.4374, allocations: 1.343 MB / 433.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.4386, allocations: 0.754 MB / 434.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.4389, allocations: 199.2 kB / 434.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.439, allocations: 47.55 kB / 434.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/0.439, allocations: 1.031 kB / 434.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01631/0.4553, allocations: 7.042 MB / 441.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4554, allocations: 64.41 kB / 441.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.4586, allocations: 1.785 MB / 443.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.4587, allocations: 49.7 kB / 443.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.4598, allocations: 1.279 MB / 444.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.4602, allocations: 421.9 kB / 445.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.4607, allocations: 299.2 kB / 445.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4609, allocations: 309.1 kB / 445.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.4622, allocations: 0.773 MB / 446.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.4638, allocations: 1.297 MB / 448 MB, free: 6.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.4669, allocations: 2.215 MB / 450.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.467, allocations: 4 kB / 450.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004507/0.4715, allocations: 2.478 MB / 452.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4715, allocations: 15.94 kB / 452.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/0.4716, allocations: 16 kB / 452.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.4723, allocations: 239.6 kB / 452.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.4738, allocations: 415.3 kB / 453.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.4772, allocations: 3.249 MB / 456.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.4792, allocations: 131.7 kB / 456.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.4794, allocations: 76 kB / 456.8 MB, free: 12.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.4814, allocations: 0.8134 MB / 457.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008121/0.4822, allocations: 181.8 kB / 457.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/0.4865, allocations: 2.042 MB / 459.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4865, allocations: 12 kB / 459.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4865, allocations: 0 / 459.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.4865, allocations: 11.97 kB / 459.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.4974, allocations: 4.737 MB / 464.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4974, allocations: 4 kB / 464.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4986, allocations: 263.6 kB / 464.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.4992, allocations: 199.3 kB / 465 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.4993, allocations: 24 kB / 465 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.5025, allocations: 3.226 MB / 468.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5025, allocations: 7.938 kB / 468.3 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.5079, allocations: 3.124 MB / 471.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.5094, allocations: 422.7 kB / 471.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007334/0.5101, allocations: 31.92 kB / 471.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.5117, allocations: 91.88 kB / 471.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.512, allocations: 72.89 kB / 472 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/0.5121, allocations: 40.05 kB / 472 MB, free: 13.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003023/0.5151, allocations: 1.22 MB / 473.3 MB, free: 12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5151, allocations: 0 / 473.3 MB, free: 12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002877/0.518, allocations: 488 kB / 473.7 MB, free: 11.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006389/0.5187, allocations: 191 kB / 473.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0045/0.5232, allocations: 2.35 MB / 476.3 MB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.5232, allocations: 0 / 476.3 MB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.5253, allocations: 1.34 MB / 477.6 MB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.5291, allocations: 499.7 kB / 478.1 MB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.5411, allocations: 4.909 MB / 483 MB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/0.5441, allocations: 1.974 MB / 485 MB, free: 24 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/0.5451, allocations: 151.3 kB / 485.1 MB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5451, allocations: 0 / 485.1 MB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.3455/0.8906, allocations: 83.2 MB / 0.555 GB, free: 158.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches