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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002751/0.002751, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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=15000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 55.05 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2611, allocations: 49.16 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009132/0.2703, allocations: 7.863 MB / 404.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.2754, allocations: 2.755 MB / 407.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.2769, allocations: 50.88 kB / 407.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.2787, allocations: 0.5889 MB / 408.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.2811, allocations: 0.7763 MB / 408.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.2819, allocations: 328.3 kB / 409.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.2846, allocations: 2.397 MB / 411.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.2861, allocations: 0.9472 MB / 412.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.2877, allocations: 1.088 MB / 413.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.2897, allocations: 1.306 MB / 414.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.2901, allocations: 279.8 kB / 415.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.2909, allocations: 371.6 kB / 415.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008641/0.2917, allocations: 0.8076 MB / 416.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.293, allocations: 1.021 MB / 417.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.2972, allocations: 3.71 MB / 421.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2972, allocations: 4 kB / 421.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2972, allocations: 0 / 421.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.352e-05/0.2973, allocations: 1 kB / 421.1 MB, free: 9.949 MB / 334.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.005359/0.3026, allocations: 2.559 MB / 423.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3027, allocations: 13.11 kB / 423.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.3034, allocations: 269 kB / 424 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.306, allocations: 1.259 MB / 425.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3061, allocations: 136 kB / 425.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.3064, allocations: 188.1 kB / 425.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.3107, allocations: 2.502 MB / 428 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/0.3108, allocations: 15.89 kB / 428.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.311, allocations: 76 kB / 428.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3111, allocations: 83.5 kB / 428.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.3149, allocations: 2.009 MB / 430.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.3276, allocations: 6.406 MB / 436.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.3298, allocations: 0.9841 MB / 437.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3315, allocations: 0.8495 MB / 438.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.3318, allocations: 48.91 kB / 438.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.3318, allocations: 39.56 kB / 438.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.277e-06/0.3318, allocations: 0 / 438.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01116/0.343, allocations: 4.719 MB / 443.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.343, allocations: 64.41 kB / 443.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.3454, allocations: 1.244 MB / 444.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3455, allocations: 41.7 kB / 444.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.3463, allocations: 0.9258 MB / 445.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.3467, allocations: 368.9 kB / 445.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.3471, allocations: 218.9 kB / 446.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3473, allocations: 349.9 kB / 446.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.3484, allocations: 0.6311 MB / 447.1 MB, free: 420 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.3498, allocations: 0.926 MB / 448 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.3525, allocations: 1.649 MB / 449.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.3525, allocations: 4 kB / 449.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004951/0.3574, allocations: 2.36 MB / 452 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.3575, allocations: 15.98 kB / 452 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.3575, allocations: 8 kB / 452 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.3597, allocations: 0.7081 MB / 452.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3607, allocations: 243.5 kB / 453 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.3736, allocations: 8.395 MB / 461.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3749, allocations: 92.02 kB / 461.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.375, allocations: 47.98 kB / 461.5 MB, free: 1.5 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.001286/0.3763, allocations: 0.6301 MB / 462.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.3767, allocations: 131.2 kB / 462.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.3806, allocations: 1.884 MB / 464.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3806, allocations: 12 kB / 464.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3806, allocations: 7.984 kB / 464.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3806, allocations: 3.984 kB / 464.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.3883, allocations: 3.525 MB / 467.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3883, allocations: 4 kB / 467.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.3892, allocations: 179.7 kB / 467.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.3905, allocations: 467.1 kB / 468.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.566e-05/0.3906, allocations: 27.98 kB / 468.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008223/0.3988, allocations: 6.267 MB / 474.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3988, allocations: 0 / 474.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/0.404, allocations: 2.756 MB / 477.4 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.4056, allocations: 279 kB / 477.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/0.4062, allocations: 31.98 kB / 477.7 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.4075, allocations: 63.92 kB / 477.8 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.4078, allocations: 92.77 kB / 477.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.4079, allocations: 24 kB / 477.9 MB, free: 0.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.4101, allocations: 0.8531 MB / 478.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4101, allocations: 4 kB / 478.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002233/0.4123, allocations: 424 kB / 479.2 MB, free: 15.39 MB / 398.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.000455/0.4128, allocations: 175 kB / 479.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.4167, allocations: 1.946 MB / 481.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.4167, allocations: 4 kB / 481.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.4191, allocations: 1.222 MB / 482.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.4211, allocations: 336.5 kB / 482.8 MB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.4295, allocations: 4.078 MB / 486.9 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.4315, allocations: 1.11 MB / 488 MB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4325, allocations: 299 kB / 488.3 MB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.4329, allocations: 91.42 kB / 488.4 MB, free: 5.961 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4329, allocations: 0 / 488.4 MB, free: 5.961 MB / 398.1 MB Notification: Performance of Templates: time 0.04611/0.479, allocations: 25.37 MB / 0.5017 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.823654852807522]