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_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002826/0.002831, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.821/3.821, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.002008/0.002007, allocations: 94.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005801/0.0005805, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1804, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.02024/0.2007, allocations: 7.566 MB / 382.1 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.2122, allocations: 2.909 MB / 385 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.2145, allocations: 35.88 kB / 385.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.2265, allocations: 0.5325 MB / 385.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.2317, allocations: 0.6464 MB / 386.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.2341, allocations: 219.7 kB / 386.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01437/0.2485, allocations: 1.731 MB / 388.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.2656, allocations: 1.343 MB / 389.5 MB, free: 376 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4694/0.7351, allocations: 0.8146 MB / 390.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.7407, allocations: 1.063 MB / 391.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.7424, allocations: 133.5 kB / 391.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.745, allocations: 200.1 kB / 391.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.748, allocations: 0.6398 MB / 392.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.7504, allocations: 0.49 MB / 392.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009906/0.7604, allocations: 3.23 MB / 396.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7605, allocations: 0 / 396.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.7605, allocations: 0 / 396.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001888/0.7607, allocations: 3.312 kB / 396.1 MB, free: 10.14 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.014/0.7747, allocations: 2.432 MB / 398.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.7748, allocations: 9.594 kB / 398.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.782, allocations: 287.4 kB / 398.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.798, allocations: 1.399 MB / 400.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/0.7985, allocations: 152.8 kB / 400.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.8002, allocations: 204.2 kB / 400.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03679/0.8371, allocations: 2.709 MB / 403.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/0.8374, allocations: 5.719 kB / 403.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/0.8387, allocations: 86.83 kB / 403.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002863/0.839, allocations: 95.33 kB / 403.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.8552, allocations: 2.326 MB / 405.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.8933, allocations: 8.421 MB / 414.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/0.8991, allocations: 1.769 MB / 416 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/0.8997, allocations: 135.5 kB / 416.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.8998, allocations: 42.19 kB / 416.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 5.892e-06/0.8999, allocations: 1.406 kB / 416.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.03929/0.9392, allocations: 6.184 MB / 422.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.9393, allocations: 68.41 kB / 422.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00646/0.9458, allocations: 1.465 MB / 423.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004946/0.9464, allocations: 45.7 kB / 423.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.9482, allocations: 0.9458 MB / 424.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.9494, allocations: 413.9 kB / 425.3 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.9498, allocations: 24 kB / 425.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003634/0.9502, allocations: 370.7 kB / 425.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003898/0.9541, allocations: 0.7456 MB / 426.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/0.9586, allocations: 1.059 MB / 427.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/0.9631, allocations: 0.8915 MB / 428.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.9632, allocations: 4 kB / 428.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0124/0.9756, allocations: 2.264 MB / 430.6 MB, free: 2.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.9757, allocations: 8 kB / 430.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.9758, allocations: 12 kB / 430.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.9786, allocations: 411.5 kB / 431 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/0.9826, allocations: 327.5 kB / 431.3 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.9965, allocations: 4.751 MB / 436.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/1, allocations: 95.81 kB / 436.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/1.001, allocations: 55.98 kB / 436.2 MB, free: 12.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003962/1.005, allocations: 0.7082 MB / 437 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.006, allocations: 162 kB / 437.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.018, allocations: 2.164 MB / 439.3 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/1.018, allocations: 10.41 kB / 439.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/1.018, allocations: 7.984 kB / 439.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/1.018, allocations: 3.984 kB / 439.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.042, allocations: 4.564 MB / 443.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/1.043, allocations: 7.984 kB / 443.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/1.046, allocations: 220 kB / 444.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/1.049, allocations: 471 kB / 444.5 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004948/1.05, allocations: 39.92 kB / 444.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/1.067, allocations: 6.286 MB / 450.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.067, allocations: 4 kB / 450.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.082, allocations: 3.352 MB / 454.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.084, allocations: 398.9 kB / 454.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.085, allocations: 31.98 kB / 454.6 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.089, allocations: 75.92 kB / 454.7 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009733/1.09, allocations: 108.8 kB / 454.8 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/1.09, allocations: 35.98 kB / 454.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004601/1.095, allocations: 1.009 MB / 455.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.095, allocations: 0 / 455.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005644/1.1, allocations: 460 kB / 456.3 MB, free: 8.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.000942/1.101, allocations: 139.1 kB / 456.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01034/1.112, allocations: 2.301 MB / 458.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.112, allocations: 0.5625 kB / 458.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006897/1.119, allocations: 1.501 MB / 460.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/1.124, allocations: 401.5 kB / 460.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.146, allocations: 5.371 MB / 466 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005276/1.152, allocations: 1.834 MB / 467.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.153, allocations: 119.4 kB / 468 MB, free: 12.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.145e-06/1.153, allocations: 0 / 468 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Templates: time 0.2052/1.359, allocations: 66.02 MB / 0.5215 GB, free: 10.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches