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.001488/0.001488, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001936/0.001936, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.74/1.74, allocations: 205.1 MB / 224.5 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.001936/0.001936, allocations: 51.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1787, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.3078/0.4865, allocations: 10.89 MB / 386 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.4978, allocations: 3.671 MB / 389.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.5015, allocations: 59.62 kB / 389.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.5052, allocations: 0.8685 MB / 390.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.5106, allocations: 0.9023 MB / 391.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.5125, allocations: 462.5 kB / 392 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005975/0.5185, allocations: 2.95 MB / 394.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.5229, allocations: 2.686 MB / 397.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.5268, allocations: 1.368 MB / 399 MB, free: 392 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.5317, allocations: 1.765 MB / 400.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.5328, allocations: 372.8 kB / 401.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.5348, allocations: 479.6 kB / 401.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.5364, allocations: 1.064 MB / 402.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.5399, allocations: 1.675 MB / 404.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008184/0.5481, allocations: 4.882 MB / 409.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5481, allocations: 1.031 kB / 409.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5482, allocations: 0 / 409.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001854/0.5483, allocations: 0 / 409.2 MB, free: 10.62 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.0127/0.5611, allocations: 3.389 MB / 412.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5611, allocations: 10.03 kB / 412.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.5626, allocations: 337.8 kB / 412.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.5669, allocations: 1.701 MB / 414.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.5672, allocations: 192 kB / 414.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.5677, allocations: 252.2 kB / 415.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008735/0.5765, allocations: 3.288 MB / 418.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.417e-05/0.5766, allocations: 7.906 kB / 418.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.5769, allocations: 104 kB / 418.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.5771, allocations: 120.9 kB / 418.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/0.5831, allocations: 2.756 MB / 421.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.6058, allocations: 10.39 MB / 431.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.608, allocations: 1.347 MB / 433.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.6094, allocations: 0.7578 MB / 433.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.6098, allocations: 199.2 kB / 434 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.6099, allocations: 51.48 kB / 434.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 4.709e-06/0.6099, allocations: 0 / 434.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01913/0.629, allocations: 7.038 MB / 441.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.6292, allocations: 64.41 kB / 441.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/0.6333, allocations: 1.785 MB / 443 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.6335, allocations: 41.7 kB / 443 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.6348, allocations: 1.283 MB / 444.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.6353, allocations: 425.9 kB / 444.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005384/0.6359, allocations: 299.2 kB / 445 MB, free: 8.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.636, allocations: 309.1 kB / 445.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.6375, allocations: 0.773 MB / 446.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.6395, allocations: 1.297 MB / 447.4 MB, free: 6.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.6429, allocations: 2.215 MB / 449.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.6429, allocations: 4 kB / 449.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005165/0.6481, allocations: 2.478 MB / 452.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.6482, allocations: 12 kB / 452.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.6482, allocations: 19.98 kB / 452.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/0.649, allocations: 235.2 kB / 452.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.6506, allocations: 419.4 kB / 452.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.6541, allocations: 3.253 MB / 456 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.6565, allocations: 123.8 kB / 456.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6567, allocations: 71.94 kB / 456.2 MB, free: 12.89 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.002531/0.6592, allocations: 0.8251 MB / 457 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/0.6601, allocations: 181.8 kB / 457.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.6644, allocations: 2.039 MB / 459.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.6645, allocations: 12 kB / 459.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6645, allocations: 0 / 459.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.6645, allocations: 7.969 kB / 459.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.675, allocations: 4.733 MB / 464 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.675, allocations: 4.281 kB / 464 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6762, allocations: 267.6 kB / 464.2 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/0.6768, allocations: 203.2 kB / 464.4 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.705e-05/0.677, allocations: 24 kB / 464.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.6801, allocations: 3.222 MB / 467.7 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6801, allocations: 4 kB / 467.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.6855, allocations: 3.12 MB / 470.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.6873, allocations: 422.8 kB / 471.2 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.6877, allocations: 35.92 kB / 471.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6887, allocations: 87.88 kB / 471.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.689, allocations: 76.89 kB / 471.4 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/0.6891, allocations: 43.86 kB / 471.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002471/0.6916, allocations: 1.216 MB / 472.7 MB, free: 11.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6916, allocations: 4 kB / 472.7 MB, free: 11.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002848/0.6945, allocations: 488 kB / 473.2 MB, free: 11.42 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.0006777/0.6952, allocations: 195 kB / 473.4 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.6997, allocations: 2.347 MB / 475.7 MB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.6998, allocations: 0 / 475.7 MB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.702, allocations: 1.343 MB / 477 MB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.7053, allocations: 499.6 kB / 477.5 MB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.7166, allocations: 4.846 MB / 482.4 MB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/0.7194, allocations: 2.01 MB / 484.4 MB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002059/0.7215, allocations: 0.496 MB / 484.9 MB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.7221, allocations: 139.4 kB / 485 MB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7221, allocations: 0 / 485 MB, free: 15.31 MB / 414.1 MB Notification: Performance of Templates: time 0.06357/0.7856, allocations: 26.2 MB / 0.4992 GB, free: 5.059 MB / 430.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/jenkins/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/jenkins/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