Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 89.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.313e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3405, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5051, allocations: 101.9 MB / 464.3 MB, free: 340 kB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5054, allocations: 79.95 kB / 464.4 MB, free: 260 kB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1896/0.6951, allocations: 40.53 MB / 0.4931 GB, free: 7.555 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6952, allocations: 0 / 0.4931 GB, free: 7.555 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.6954, allocations: 59.92 kB / 0.4931 GB, free: 7.496 MB / 395.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.007552/0.703, allocations: 1.98 MB / 0.495 GB, free: 5.465 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7031, allocations: 8.031 kB / 0.4951 GB, free: 5.457 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.7047, allocations: 261.2 kB / 0.4953 GB, free: 5.199 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/0.7097, allocations: 1.408 MB / 0.4967 GB, free: 3.734 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.7099, allocations: 60 kB / 0.4967 GB, free: 3.676 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006406/0.7105, allocations: 111.9 kB / 0.4968 GB, free: 3.566 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005716/0.7162, allocations: 1.749 MB / 0.4985 GB, free: 1.816 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3707/1.087, allocations: 2.066 MB / 0.5006 GB, free: 99.11 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/1.087, allocations: 5.984 kB / 0.5006 GB, free: 99.11 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/1.088, allocations: 1.625 kB / 0.5006 GB, free: 99.11 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/1.088, allocations: 80.16 kB / 0.5006 GB, free: 99.11 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/1.117, allocations: 7.139 MB / 0.5076 GB, free: 97.46 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/1.122, allocations: 1.239 MB / 0.5088 GB, free: 97.14 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/1.124, allocations: 0.7247 MB / 0.5095 GB, free: 97.12 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.125, allocations: 130.1 kB / 0.5097 GB, free: 97.03 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/1.125, allocations: 44.55 kB / 0.5097 GB, free: 96.99 MB / 395.1 MB Notification: Performance of pre-optimization done (n=87): time 5.981e-06/1.125, allocations: 3.594 kB / 0.5097 GB, free: 96.99 MB / 395.1 MB Notification: Performance of matching and sorting (n=103): time 0.01794/1.143, allocations: 3.914 MB / 0.5135 GB, free: 96.35 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.143, allocations: 70.12 kB / 0.5136 GB, free: 96.29 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/1.146, allocations: 0.9897 MB / 0.5146 GB, free: 96.14 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003305/1.147, allocations: 26.8 kB / 0.5146 GB, free: 96.11 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/1.148, allocations: 0.8737 MB / 0.5154 GB, free: 95.72 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000769/1.149, allocations: 347.4 kB / 0.5158 GB, free: 95.49 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.149, allocations: 3.281 kB / 0.5158 GB, free: 95.49 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/1.149, allocations: 362.2 kB / 0.5161 GB, free: 95.18 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/1.151, allocations: 0.5848 MB / 0.5167 GB, free: 95.18 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/1.154, allocations: 0.8676 MB / 0.5175 GB, free: 94.86 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/1.157, allocations: 0.7259 MB / 0.5182 GB, free: 94.84 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/1.157, allocations: 3.375 kB / 0.5183 GB, free: 94.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009023/1.166, allocations: 2.182 MB / 0.5204 GB, free: 94.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.166, allocations: 11.72 kB / 0.5204 GB, free: 94.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/1.166, allocations: 7.812 kB / 0.5204 GB, free: 94.48 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004589/1.171, allocations: 0.7621 MB / 0.5211 GB, free: 94.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.173, allocations: 235.9 kB / 0.5214 GB, free: 94.29 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/1.195, allocations: 8.179 MB / 0.5294 GB, free: 89.58 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.197, allocations: 59.16 kB / 0.5294 GB, free: 89.58 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/1.198, allocations: 50.12 kB / 0.5295 GB, free: 89.57 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000454/1.198, allocations: 128.6 kB / 0.5296 GB, free: 89.46 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006594/1.199, allocations: 136.2 kB / 0.5297 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006339/1.205, allocations: 1.774 MB / 0.5314 GB, free: 88.72 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.206, allocations: 14.02 kB / 0.5315 GB, free: 88.72 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.206, allocations: 3.938 kB / 0.5315 GB, free: 88.72 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/1.206, allocations: 8.719 kB / 0.5315 GB, free: 88.72 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.22, allocations: 3.633 MB / 0.535 GB, free: 87.26 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.22, allocations: 3.531 kB / 0.535 GB, free: 87.26 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.223, allocations: 199.8 kB / 0.5352 GB, free: 87.25 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.226, allocations: 458.8 kB / 0.5357 GB, free: 87.12 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/1.226, allocations: 14.7 kB / 0.5357 GB, free: 87.12 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.237, allocations: 5.91 MB / 0.5414 GB, free: 82.52 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.237, allocations: 0 / 0.5414 GB, free: 82.52 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/1.243, allocations: 2.747 MB / 0.5441 GB, free: 81.26 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.244, allocations: 349.3 kB / 0.5445 GB, free: 81.03 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.245, allocations: 7.312 kB / 0.5445 GB, free: 81.03 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.246, allocations: 60.36 kB / 0.5445 GB, free: 81.03 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/1.247, allocations: 80.25 kB / 0.5446 GB, free: 81.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.247, allocations: 33.28 kB / 0.5446 GB, free: 81.01 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001469/1.248, allocations: 0.7482 MB / 0.5454 GB, free: 80.68 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.248, allocations: 1.781 kB / 0.5454 GB, free: 80.68 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002448/1.251, allocations: 408.8 kB / 0.5457 GB, free: 80.67 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006809/1.251, allocations: 283.6 kB / 0.546 GB, free: 80.56 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/1.256, allocations: 1.926 MB / 0.5479 GB, free: 79.74 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.256, allocations: 0 / 0.5479 GB, free: 79.74 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/1.259, allocations: 1.271 MB / 0.5491 GB, free: 79.02 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.262, allocations: 277.6 kB / 0.5494 GB, free: 78.96 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/1.269, allocations: 3.268 MB / 0.5526 GB, free: 77.48 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.271, allocations: 1.712 MB / 0.5543 GB, free: 76.59 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/1.271, allocations: 92.52 kB / 0.5544 GB, free: 76.58 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/1.271, allocations: 0 / 0.5544 GB, free: 76.58 MB / 395.1 MB Notification: Performance of Templates: time 0.07736/1.349, allocations: 49.33 MB / 0.6025 GB, free: 34.65 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches