Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.002579/0.002579, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.816/1.816, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001361/0.001361, allocations: 52.2 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 46.62 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2802/0.3978, allocations: 8.853 MB / 384 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.4054, allocations: 2.913 MB / 386.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.4072, allocations: 38.72 kB / 387 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.4092, allocations: 0.6131 MB / 387.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.4122, allocations: 0.7234 MB / 388.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.4132, allocations: 323.8 kB / 388.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.4167, allocations: 2.393 MB / 391 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.419, allocations: 1.716 MB / 392.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4213, allocations: 1.061 MB / 393.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.4236, allocations: 1.341 MB / 395.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005567/0.4242, allocations: 280.5 kB / 395.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.4255, allocations: 370.8 kB / 395.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.4268, allocations: 0.8021 MB / 396.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.4289, allocations: 1.26 MB / 397.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.4347, allocations: 3.683 MB / 401.5 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4347, allocations: 0 / 401.5 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4347, allocations: 0 / 401.5 MB, free: 112 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.4349, allocations: 1.375 kB / 401.5 MB, free: 112 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007633/0.4425, allocations: 2.573 MB / 404.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.4426, allocations: 9.156 kB / 404.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.4436, allocations: 261.1 kB / 404.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.4464, allocations: 1.31 MB / 405.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4466, allocations: 136.9 kB / 405.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.447, allocations: 187.1 kB / 406 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.452, allocations: 2.414 MB / 408.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.4521, allocations: 6.219 kB / 408.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.4523, allocations: 71.44 kB / 408.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.4525, allocations: 85.03 kB / 408.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.4567, allocations: 2.015 MB / 410.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.4713, allocations: 7.378 MB / 417.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.4736, allocations: 1.264 MB / 419.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.4754, allocations: 0.9197 MB / 420.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.4756, allocations: 122.1 kB / 420.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4757, allocations: 39.56 kB / 420.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.697e-06/0.4757, allocations: 1.125 kB / 420.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01084/0.4865, allocations: 4.994 MB / 425.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4866, allocations: 64.41 kB / 425.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.4892, allocations: 1.376 MB / 426.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.4894, allocations: 49.7 kB / 426.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007187/0.4901, allocations: 0.8853 MB / 427.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.4905, allocations: 358.9 kB / 428 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.491, allocations: 218.8 kB / 428.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.4913, allocations: 349.9 kB / 428.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.4925, allocations: 0.6311 MB / 429.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.4938, allocations: 0.922 MB / 430.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.4965, allocations: 1.657 MB / 431.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4965, allocations: 3.938 kB / 431.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004784/0.5013, allocations: 2.39 MB / 434.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.5013, allocations: 8 kB / 434.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.5014, allocations: 8 kB / 434.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.5034, allocations: 0.716 MB / 434.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5044, allocations: 235.6 kB / 435.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.5165, allocations: 8.748 MB / 443.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5182, allocations: 79.84 kB / 443.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.5183, allocations: 52.12 kB / 444 MB, free: 9.629 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001697/0.52, allocations: 0.6262 MB / 444.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.5206, allocations: 146.2 kB / 444.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.5241, allocations: 1.897 MB / 446.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5242, allocations: 8 kB / 446.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5242, allocations: 4 kB / 446.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5242, allocations: 3.984 kB / 446.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.5316, allocations: 4.012 MB / 450.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.5317, allocations: 4 kB / 450.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/0.5326, allocations: 188 kB / 450.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5339, allocations: 454.9 kB / 451.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.534, allocations: 31.98 kB / 451.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007284/0.5413, allocations: 6.685 MB / 458 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5413, allocations: 8.031 kB / 458 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/0.5463, allocations: 2.775 MB / 460.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.5473, allocations: 355.2 kB / 461.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.5476, allocations: 27.98 kB / 461.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.5484, allocations: 71.92 kB / 461.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.5487, allocations: 80.81 kB / 461.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.5488, allocations: 27.98 kB / 461.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.5503, allocations: 0.9543 MB / 462.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5504, allocations: 4 kB / 462.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001751/0.5521, allocations: 440.1 kB / 462.8 MB, free: 6.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.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 (84): * Single equations (assignments): 80 * 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,12,100.0%), (1,1,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.0004215/0.5525, allocations: 179.3 kB / 462.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.5563, allocations: 2.011 MB / 464.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5563, allocations: 1.875 kB / 464.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.5585, allocations: 1.339 MB / 466.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5607, allocations: 394.5 kB / 466.7 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.5687, allocations: 4.006 MB / 470.7 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.5704, allocations: 1.696 MB / 472.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.5716, allocations: 308 kB / 472.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.5719, allocations: 99.42 kB / 472.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5719, allocations: 0 / 472.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of Templates: time 0.05026/0.6222, allocations: 24.41 MB / 497.2 MB, free: 3.578 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches