Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.002029/0.002029, 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.001672/0.001672, allocations: 215 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.516/1.516, allocations: 207.7 MB / 235.3 MB, free: 9.789 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") [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.001931/0.001931, allocations: 63.92 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2984, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01028/0.3087, allocations: 8.289 MB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.3188, allocations: 2.861 MB / 408 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.3224, allocations: 53.75 kB / 408.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.3257, allocations: 0.6294 MB / 408.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.3315, allocations: 0.8089 MB / 409.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3332, allocations: 361.3 kB / 409.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005975/0.3392, allocations: 2.683 MB / 412.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.3419, allocations: 1.062 MB / 413.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.3451, allocations: 1.218 MB / 414.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.3489, allocations: 1.468 MB / 416.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.3498, allocations: 308.8 kB / 416.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.3514, allocations: 395.7 kB / 417 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.353, allocations: 0.9008 MB / 417.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.3555, allocations: 1.142 MB / 419 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.3628, allocations: 4.116 MB / 423.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3628, allocations: 0 / 423.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3628, allocations: 1.188 kB / 423.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001013/0.3629, allocations: 0 / 423.1 MB, free: 8.598 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009461/0.3724, allocations: 2.846 MB / 426 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3724, allocations: 11.98 kB / 426 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3736, allocations: 299.2 kB / 426.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.3781, allocations: 1.39 MB / 427.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.3783, allocations: 152.4 kB / 427.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.3789, allocations: 212.1 kB / 428 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007566/0.3864, allocations: 2.828 MB / 430.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.148e-05/0.3865, allocations: 8 kB / 430.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.3868, allocations: 87.94 kB / 430.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.387, allocations: 95.92 kB / 431 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006454/0.3934, allocations: 2.315 MB / 433.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.4129, allocations: 7.254 MB / 440.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/0.416, allocations: 1.248 MB / 441.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/0.4189, allocations: 1.008 MB / 442.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.4192, allocations: 56.95 kB / 442.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.4192, allocations: 43.56 kB / 443 MB, free: 4.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.498e-06/0.4192, allocations: 0 / 443 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01997/0.4392, allocations: 5.94 MB / 448.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.4393, allocations: 64.41 kB / 449 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/0.4429, allocations: 1.38 MB / 450.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.4431, allocations: 45.7 kB / 450.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.4445, allocations: 1.012 MB / 451.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007644/0.4453, allocations: 444.2 kB / 451.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000752/0.446, allocations: 255.5 kB / 452.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003004/0.4463, allocations: 361.9 kB / 452.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.4485, allocations: 0.7261 MB / 453.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.4512, allocations: 1.059 MB / 454.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/0.4564, allocations: 1.871 MB / 456.1 MB, free: 7.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.4564, allocations: 7.938 kB / 456.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007765/0.4641, allocations: 2.342 MB / 458.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.4642, allocations: 8.344 kB / 458.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.4642, allocations: 12 kB / 458.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.4661, allocations: 407.1 kB / 458.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.4685, allocations: 327.5 kB / 459.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009471/0.478, allocations: 4.784 MB / 464 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4801, allocations: 87.89 kB / 464.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.4802, allocations: 52 kB / 464.1 MB, free: 14.78 MB / 382.1 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[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001498/0.4817, allocations: 0.7198 MB / 464.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.4822, allocations: 155 kB / 465 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.4862, allocations: 2.12 MB / 467.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.4862, allocations: 15.94 kB / 467.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4863, allocations: 4 kB / 467.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4863, allocations: 3.984 kB / 467.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/0.4942, allocations: 4.035 MB / 471.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4942, allocations: 4 kB / 471.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/0.4952, allocations: 223.7 kB / 471.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.4965, allocations: 467.1 kB / 471.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4966, allocations: 39.92 kB / 471.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.5039, allocations: 6.275 MB / 478.1 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5039, allocations: 3.984 kB / 478.2 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/0.5092, allocations: 3.169 MB / 481.3 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.5103, allocations: 314.9 kB / 481.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5106, allocations: 24 kB / 481.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.5115, allocations: 75.91 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.5118, allocations: 112.7 kB / 481.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/0.5119, allocations: 35.98 kB / 481.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.5136, allocations: 0.9389 MB / 482.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5136, allocations: 0 / 482.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001642/0.5152, allocations: 467.9 kB / 483.3 MB, free: 11.1 MB / 398.1 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 (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.0003926/0.5156, allocations: 178.9 kB / 483.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.5193, allocations: 2.046 MB / 485.5 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5193, allocations: 0 / 485.5 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.5217, allocations: 1.366 MB / 486.9 MB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.5235, allocations: 388.7 kB / 487.2 MB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.5315, allocations: 4.536 MB / 491.8 MB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.5333, allocations: 1.253 MB / 493 MB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.5344, allocations: 376.5 kB / 493.4 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.5348, allocations: 107.4 kB / 493.5 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5348, allocations: 0 / 493.5 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of Templates: time 0.04734/0.5821, allocations: 27.2 MB / 0.5085 GB, free: 5.418 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.85375134088099]