Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 183 kB / 17.91 MB, free: 3.855 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.185/1.185, allocations: 205.1 MB / 223.7 MB, free: 8.508 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.0008999/0.0008998, allocations: 99.77 kB / 271.2 MB, free: 8.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007154, allocations: 43.94 kB / 327.2 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2017, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.009879/0.2116, allocations: 11.5 MB / 385.3 MB, free: 36.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.2176, allocations: 3.909 MB / 389.2 MB, free: 33.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.2188, allocations: 63.66 kB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.2204, allocations: 0.7549 MB / 390.1 MB, free: 32.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.2227, allocations: 0.8486 MB / 390.9 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.2235, allocations: 471.4 kB / 391.4 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.2261, allocations: 3.653 MB / 395 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.2281, allocations: 2.533 MB / 397.6 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.2296, allocations: 1.343 MB / 398.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.2311, allocations: 1.899 MB / 400.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.2314, allocations: 256 kB / 401 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.2321, allocations: 375.8 kB / 401.4 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.2329, allocations: 1.044 MB / 402.5 MB, free: 20.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2341, allocations: 1.71 MB / 404.2 MB, free: 19.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.2372, allocations: 5.304 MB / 409.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2372, allocations: 0 / 409.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2372, allocations: 0 / 409.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.812e-05/0.2373, allocations: 0 / 409.5 MB, free: 13.73 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.005874/0.2432, allocations: 3.821 MB / 413.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2432, allocations: 8.031 kB / 413.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.244, allocations: 392.5 kB / 413.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.2467, allocations: 1.923 MB / 415.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.2468, allocations: 234 kB / 415.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.2472, allocations: 276 kB / 416.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.2513, allocations: 3.693 MB / 419.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.2514, allocations: 11.91 kB / 419.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.2516, allocations: 120 kB / 419.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.454e-05/0.2517, allocations: 137.5 kB / 420.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.2554, allocations: 3.109 MB / 423.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.2713, allocations: 11.64 MB / 434.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.2736, allocations: 1.914 MB / 436.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.2751, allocations: 1.088 MB / 437.8 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.2754, allocations: 211.2 kB / 438 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.2755, allocations: 47.97 kB / 438.1 MB, free: 440 kB / 314.7 MB Notification: Performance of pre-optimization done (n=125): time 3.176e-06/0.2755, allocations: 4 kB / 438.1 MB, free: 436 kB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01106/0.2865, allocations: 6.514 MB / 444.6 MB, free: 9.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2866, allocations: 64.72 kB / 444.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.2891, allocations: 1.994 MB / 446.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.2892, allocations: 49.7 kB / 446.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.2901, allocations: 1.412 MB / 448.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.2904, allocations: 488.9 kB / 448.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.2909, allocations: 327.3 kB / 448.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.291, allocations: 305.1 kB / 449.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2921, allocations: 0.8199 MB / 450 MB, free: 4.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.2936, allocations: 1.383 MB / 451.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.2964, allocations: 2.361 MB / 453.8 MB, free: 16 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.2964, allocations: 11.94 kB / 453.8 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004124/0.3005, allocations: 2.85 MB / 456.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3006, allocations: 12 kB / 456.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3006, allocations: 16 kB / 456.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.3014, allocations: 398.4 kB / 457 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3028, allocations: 431.3 kB / 457.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.3089, allocations: 6.139 MB / 463.6 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3106, allocations: 127.8 kB / 463.7 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.3108, allocations: 76 kB / 463.8 MB, free: 5.523 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(2,9,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.3125, allocations: 0.9081 MB / 464.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.3129, allocations: 213.3 kB / 464.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.3168, allocations: 2.425 MB / 467.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3168, allocations: 12 kB / 467.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.3168, allocations: 4 kB / 467.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3168, allocations: 7.969 kB / 467.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007971/0.3248, allocations: 5.524 MB / 472.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.3248, allocations: 8.047 kB / 472.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.3258, allocations: 255.6 kB / 473.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.3267, allocations: 415 kB / 473.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.3268, allocations: 39.98 kB / 473.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006177/0.333, allocations: 7.567 MB / 481.1 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.333, allocations: 11.94 kB / 481.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03234/0.3653, allocations: 25.47 MB / 0.4947 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/0.3662, allocations: 462.4 kB / 0.4952 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.3665, allocations: 36 kB / 0.4952 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009265/0.3674, allocations: 91.88 kB / 0.4953 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.3676, allocations: 105.1 kB / 0.4954 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.3677, allocations: 43.98 kB / 0.4955 GB, free: 8.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001883/0.3696, allocations: 1.361 MB / 0.4968 GB, free: 6.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3696, allocations: 0 / 0.4968 GB, free: 6.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002184/0.3718, allocations: 0.7383 MB / 0.4975 GB, free: 6.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.0003635/0.3722, allocations: 194.9 kB / 0.4977 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/0.3755, allocations: 2.496 MB / 0.5001 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3755, allocations: 448 / 0.5001 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.3773, allocations: 1.487 MB / 0.5016 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.3795, allocations: 0.5099 MB / 0.5021 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/0.5295, allocations: 8.556 MB / 0.5104 GB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.5314, allocations: 2.253 MB / 0.5126 GB, free: 117.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001722/0.5331, allocations: 0.5219 MB / 0.5131 GB, free: 117.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.5336, allocations: 161.9 kB / 0.5133 GB, free: 117.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5336, allocations: 0 / 0.5133 GB, free: 117.4 MB / 394.7 MB Notification: Performance of Templates: time 0.0453/0.5789, allocations: 34.49 MB / 0.547 GB, free: 89.18 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches