Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 92.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 11.98 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.008419/0.2428, allocations: 9.606 MB / 384.2 MB, free: 37.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.2487, allocations: 3.457 MB / 387.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.2499, allocations: 50.72 kB / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.2513, allocations: 0.6558 MB / 388.3 MB, free: 34.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.2531, allocations: 0.7253 MB / 389 MB, free: 33.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.2538, allocations: 295.2 kB / 389.3 MB, free: 33.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.2559, allocations: 2.98 MB / 392.3 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.2575, allocations: 1.812 MB / 394.1 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.2586, allocations: 1.012 MB / 395.1 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.26, allocations: 1.412 MB / 396.5 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.2602, allocations: 156 kB / 396.7 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.2608, allocations: 227.9 kB / 396.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005364/0.2613, allocations: 0.8022 MB / 397.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.2617, allocations: 0.5665 MB / 398.3 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.2641, allocations: 3.932 MB / 402.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2641, allocations: 0 / 402.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2641, allocations: 0 / 402.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.979e-05/0.2641, allocations: 3.938 kB / 402.2 MB, free: 21.06 MB / 298.7 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.004364/0.2685, allocations: 2.88 MB / 405.1 MB, free: 18.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2686, allocations: 8.031 kB / 405.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006475/0.2692, allocations: 340.1 kB / 405.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.2713, allocations: 1.631 MB / 407.1 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2714, allocations: 201 kB / 407.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.2717, allocations: 247.9 kB / 407.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.2759, allocations: 3.264 MB / 410.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.276, allocations: 11.89 kB / 410.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.2762, allocations: 104 kB / 410.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.56e-05/0.2763, allocations: 124.9 kB / 411 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.2799, allocations: 2.732 MB / 413.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.2925, allocations: 10.55 MB / 424.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.2943, allocations: 1.346 MB / 425.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.2955, allocations: 0.7785 MB / 426.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.2958, allocations: 211.1 kB / 426.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2959, allocations: 43.56 kB / 426.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.627e-06/0.2959, allocations: 0 / 426.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01461/0.3105, allocations: 7.058 MB / 433.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3106, allocations: 68.41 kB / 433.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.3129, allocations: 1.781 MB / 435.6 MB, free: 2.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/0.313, allocations: 45.7 kB / 435.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/0.3139, allocations: 1.279 MB / 436.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.3143, allocations: 425.9 kB / 437.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.3144, allocations: 32 kB / 437.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3145, allocations: 369.9 kB / 437.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3157, allocations: 0.773 MB / 438.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3172, allocations: 1.289 MB / 439.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3186, allocations: 0.9784 MB / 440.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.3187, allocations: 4 kB / 440.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003799/0.3225, allocations: 2.462 MB / 443.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3225, allocations: 12 kB / 443.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.3225, allocations: 19.95 kB / 443.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.3232, allocations: 251.6 kB / 443.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.3246, allocations: 415.3 kB / 443.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.3271, allocations: 3.005 MB / 446.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3284, allocations: 127.8 kB / 447 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.3285, allocations: 79.92 kB / 447.1 MB, free: 6.781 MB / 330.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.3299, allocations: 0.8095 MB / 447.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.3302, allocations: 193.6 kB / 448.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.3334, allocations: 2.035 MB / 450.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3334, allocations: 15.94 kB / 450.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.3335, allocations: 0 / 450.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3335, allocations: 7.984 kB / 450.2 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.3407, allocations: 4.752 MB / 454.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3407, allocations: 3.953 kB / 454.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.3418, allocations: 271.9 kB / 455.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/0.3423, allocations: 199.3 kB / 455.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.3424, allocations: 24 kB / 455.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.3448, allocations: 2.974 MB / 458.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3448, allocations: 4 kB / 458.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.3491, allocations: 3.118 MB / 461.5 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/0.3499, allocations: 438.5 kB / 461.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.3501, allocations: 24 kB / 462 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.351, allocations: 103.9 kB / 462.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.3511, allocations: 76.83 kB / 462.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.3512, allocations: 32 kB / 462.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.3531, allocations: 1.208 MB / 463.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3531, allocations: 0 / 463.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001484/0.3546, allocations: 492 kB / 463.8 MB, free: 5.555 MB / 346.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.3549, allocations: 155 kB / 464 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.3586, allocations: 2.331 MB / 466.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3586, allocations: 3.938 kB / 466.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.3605, allocations: 1.335 MB / 467.7 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.3627, allocations: 477.8 kB / 468.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.3705, allocations: 5.872 MB / 474 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.3722, allocations: 1.974 MB / 476 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.3726, allocations: 147.4 kB / 476.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3727, allocations: 0 / 476.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of Templates: time 0.2189/0.5915, allocations: 82.22 MB / 0.5453 GB, free: 61.09 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches