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.001293/0.001293, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001283/0.001283, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.242/1.242, 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.001093/0.001093, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07782, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.1592/0.237, allocations: 10.89 MB / 386.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.2429, allocations: 3.675 MB / 390.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.244, allocations: 59.22 kB / 390.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.2456, allocations: 0.817 MB / 391.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.2475, allocations: 0.8541 MB / 392.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.2484, allocations: 466.9 kB / 392.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.251, allocations: 2.95 MB / 395.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.2536, allocations: 2.683 MB / 398.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.2554, allocations: 1.375 MB / 399.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2575, allocations: 1.749 MB / 401.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.258, allocations: 376.6 kB / 401.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.2589, allocations: 481.3 kB / 402.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.26, allocations: 1.067 MB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.2616, allocations: 1.673 MB / 404.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.2662, allocations: 4.874 MB / 409.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2662, allocations: 3.984 kB / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2662, allocations: 1.375 kB / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.943e-05/0.2663, allocations: 3.938 kB / 409.8 MB, free: 10.7 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.006337/0.2727, allocations: 3.388 MB / 413.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2727, allocations: 9.031 kB / 413.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008246/0.2735, allocations: 343.5 kB / 413.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.276, allocations: 1.701 MB / 415.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2762, allocations: 196 kB / 415.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.2765, allocations: 255.2 kB / 415.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004903/0.2814, allocations: 3.276 MB / 418.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.2815, allocations: 11.89 kB / 419 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.2817, allocations: 112 kB / 419.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.2818, allocations: 120.9 kB / 419.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/0.2858, allocations: 2.74 MB / 421.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.299, allocations: 10.4 MB / 432.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.3006, allocations: 1.343 MB / 433.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3017, allocations: 0.7502 MB / 434.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.302, allocations: 211.2 kB / 434.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.302, allocations: 39.56 kB / 434.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.414e-06/0.302, allocations: 0 / 434.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.0138/0.3158, allocations: 7.034 MB / 441.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3159, allocations: 68.34 kB / 441.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.3181, allocations: 1.789 MB / 443.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.3182, allocations: 45.7 kB / 443.6 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007294/0.3189, allocations: 1.276 MB / 444.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.3192, allocations: 425.9 kB / 445.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.3196, allocations: 303.2 kB / 445.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.3197, allocations: 305.1 kB / 445.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3207, allocations: 0.7691 MB / 446.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.322, allocations: 1.304 MB / 448 MB, free: 6.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.3245, allocations: 2.207 MB / 450.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.3245, allocations: 4 kB / 450.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003413/0.3279, allocations: 2.478 MB / 452.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.328, allocations: 12 kB / 452.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.328, allocations: 16 kB / 452.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.3285, allocations: 239.2 kB / 452.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.3299, allocations: 419.3 kB / 453.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.3322, allocations: 3.253 MB / 456.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.3335, allocations: 123.8 kB / 456.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.3336, allocations: 75.92 kB / 456.8 MB, free: 13 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.001379/0.335, allocations: 0.8251 MB / 457.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.3353, allocations: 181.8 kB / 457.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.3383, allocations: 2.035 MB / 459.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3383, allocations: 12 kB / 459.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3383, allocations: 4 kB / 459.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3384, allocations: 3.984 kB / 459.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007592/0.346, allocations: 4.745 MB / 464.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.346, allocations: 288 / 464.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.347, allocations: 263.6 kB / 464.8 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.3476, allocations: 207.2 kB / 465 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/0.3477, allocations: 24 kB / 465.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.35, allocations: 3.214 MB / 468.3 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.35, allocations: 4.031 kB / 468.3 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.3542, allocations: 3.124 MB / 471.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/0.3551, allocations: 422.7 kB / 471.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/0.3556, allocations: 32 kB / 471.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.3568, allocations: 96 kB / 471.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3569, allocations: 80.81 kB / 472 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.357, allocations: 32 kB / 472 MB, free: 13.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.3591, allocations: 1.224 MB / 473.3 MB, free: 12.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3591, allocations: 4 kB / 473.3 MB, free: 12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001758/0.3609, allocations: 488 kB / 473.7 MB, free: 11.53 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.0003813/0.3613, allocations: 190.9 kB / 473.9 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.3647, allocations: 2.351 MB / 476.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3647, allocations: 0 / 476.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.3664, allocations: 1.339 MB / 477.6 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.369, allocations: 0.491 MB / 478.1 MB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008492/0.3775, allocations: 4.901 MB / 483 MB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.3795, allocations: 1.97 MB / 485 MB, free: 40 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.3802, allocations: 155.4 kB / 485.1 MB, free: 15.89 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3802, allocations: 0 / 485.1 MB, free: 15.89 MB / 414.1 MB Notification: Performance of Templates: time 0.2434/0.6236, allocations: 82.87 MB / 0.5547 GB, free: 157.9 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