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.0009978/0.000998, allocations: 179.6 kB / 16.41 MB, free: 5.703 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.362/1.362, allocations: 205.4 MB / 222.5 MB, free: 9.098 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.0008063/0.0008066, allocations: 90.28 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 12 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.006532/0.2252, allocations: 7.834 MB / 382.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.2298, allocations: 2.739 MB / 385.1 MB, free: 37.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007875/0.2306, allocations: 31.56 kB / 385.2 MB, free: 37.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.2317, allocations: 493.3 kB / 385.6 MB, free: 36.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2331, allocations: 0.6232 MB / 386.3 MB, free: 36.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.2336, allocations: 201.1 kB / 386.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.2358, allocations: 2.474 MB / 388.9 MB, free: 34.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.2369, allocations: 1.2 MB / 390.1 MB, free: 33.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/0.2379, allocations: 0.8093 MB / 390.9 MB, free: 32.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.2389, allocations: 1.129 MB / 392.1 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.2391, allocations: 124 kB / 392.2 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.2396, allocations: 183.9 kB / 392.4 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.24, allocations: 0.6269 MB / 393 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.2403, allocations: 452.6 kB / 393.4 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.242, allocations: 2.962 MB / 396.4 MB, free: 26.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.242, allocations: 4 kB / 396.4 MB, free: 26.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2421, allocations: 0 / 396.4 MB, free: 26.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.793e-05/0.2421, allocations: 0 / 396.4 MB, free: 26.89 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003317/0.2454, allocations: 2.212 MB / 398.6 MB, free: 24.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2455, allocations: 11.97 kB / 398.6 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.246, allocations: 269.1 kB / 398.9 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.2476, allocations: 1.252 MB / 400.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.2477, allocations: 135.6 kB / 400.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.2479, allocations: 183.9 kB / 400.5 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.2511, allocations: 2.406 MB / 402.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.2511, allocations: 4 kB / 402.9 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.2513, allocations: 68 kB / 402.9 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/0.2514, allocations: 91.48 kB / 403 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.2541, allocations: 2.02 MB / 405 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008726/0.2628, allocations: 7.487 MB / 412.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2643, allocations: 1.286 MB / 413.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.2656, allocations: 0.9198 MB / 414.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.2658, allocations: 126.1 kB / 414.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2659, allocations: 39.56 kB / 414.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 3.606e-06/0.2659, allocations: 0 / 414.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.007516/0.2734, allocations: 5.036 MB / 419.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2734, allocations: 64.41 kB / 420 MB, free: 2.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.2749, allocations: 1.368 MB / 421.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.2749, allocations: 45.7 kB / 421.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.2753, allocations: 0.8969 MB / 422.3 MB, free: 396 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.2755, allocations: 350.9 kB / 422.7 MB, free: 40 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.2756, allocations: 28 kB / 422.7 MB, free: 12 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2757, allocations: 345.9 kB / 423 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009703/0.2767, allocations: 0.6427 MB / 423.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.2779, allocations: 0.9298 MB / 424.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.279, allocations: 0.7642 MB / 425.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.279, allocations: 4 kB / 425.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003968/0.283, allocations: 2.387 MB / 427.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.283, allocations: 12 kB / 427.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2831, allocations: 8 kB / 427.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.2849, allocations: 0.7199 MB / 428.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.2857, allocations: 235.7 kB / 428.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.296, allocations: 7.997 MB / 436.7 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.2973, allocations: 79.92 kB / 436.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2975, allocations: 47.98 kB / 436.8 MB, free: 1.438 MB / 314.7 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 (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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.2987, allocations: 0.6225 MB / 437.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.2989, allocations: 146.2 kB / 437.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.3022, allocations: 1.913 MB / 439.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3023, allocations: 12 kB / 439.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3023, allocations: 4.125 kB / 439.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3023, allocations: 7.984 kB / 439.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00667/0.309, allocations: 4.021 MB / 443.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.309, allocations: 0 / 443.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/0.3098, allocations: 192 kB / 443.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.311, allocations: 470.8 kB / 444.2 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.3111, allocations: 23.98 kB / 444.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.3174, allocations: 6.15 MB / 450.4 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3174, allocations: 4.031 kB / 450.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.3221, allocations: 2.787 MB / 453.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007746/0.3229, allocations: 371.2 kB / 453.5 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.3232, allocations: 20 kB / 453.6 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.3241, allocations: 75.92 kB / 453.6 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.3243, allocations: 88.81 kB / 453.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.3244, allocations: 35.97 kB / 453.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.326, allocations: 0.9387 MB / 454.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.326, allocations: 0 / 454.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00159/0.3276, allocations: 439.9 kB / 455.1 MB, free: 14.54 MB / 346.7 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 (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.00033/0.3279, allocations: 142.1 kB / 455.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.3314, allocations: 2.008 MB / 457.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3314, allocations: 4.625 kB / 457.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.3335, allocations: 1.355 MB / 458.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.3354, allocations: 375.7 kB / 459 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.3428, allocations: 4.794 MB / 463.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.3445, allocations: 1.673 MB / 465.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.345, allocations: 99.42 kB / 465.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.345, allocations: 0 / 465.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of Templates: time 0.2327/0.5777, allocations: 52.26 MB / 0.5057 GB, free: 103.3 MB / 378.7 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/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","../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