Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001333/0.001333, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 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.001421/0.001421, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 53.37 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01128/0.2775, allocations: 8.358 MB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.2833, allocations: 2.882 MB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008124/0.2841, allocations: 63.56 kB / 443.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2856, allocations: 0.6171 MB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.2874, allocations: 0.8196 MB / 445.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.2881, allocations: 367.5 kB / 445.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.2908, allocations: 2.673 MB / 448.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.2924, allocations: 1.166 MB / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2938, allocations: 1.234 MB / 450.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.2957, allocations: 1.534 MB / 452.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004555/0.2962, allocations: 308 kB / 452.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.297, allocations: 411.8 kB / 452.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009584/0.2979, allocations: 0.9037 MB / 453.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.2997, allocations: 1.14 MB / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006151/0.3059, allocations: 4.142 MB / 459 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3059, allocations: 0 / 459 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3059, allocations: 0 / 459 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.3059, allocations: 0 / 459 MB, free: 11.97 MB / 366.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.007856/0.3138, allocations: 2.865 MB / 461.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3138, allocations: 11.97 kB / 461.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.3154, allocations: 335.1 kB / 462.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.3196, allocations: 1.484 MB / 463.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.3198, allocations: 152.4 kB / 463.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.3203, allocations: 207.9 kB / 464 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006761/0.327, allocations: 2.836 MB / 466.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.87e-05/0.3271, allocations: 11.89 kB / 466.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.3274, allocations: 80 kB / 466.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.3276, allocations: 91.94 kB / 467 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/0.3337, allocations: 2.33 MB / 469.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.3521, allocations: 7.242 MB / 476.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.355, allocations: 1.247 MB / 477.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.3577, allocations: 1.011 MB / 478.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.3579, allocations: 48.97 kB / 478.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.358, allocations: 47.5 kB / 478.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.108e-06/0.358, allocations: 0 / 478.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01769/0.3756, allocations: 5.928 MB / 484.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3757, allocations: 64.41 kB / 484.9 MB, free: 1.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.378, allocations: 1.393 MB / 486.3 MB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.3781, allocations: 45.7 kB / 486.4 MB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/0.379, allocations: 1.024 MB / 487.4 MB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.3794, allocations: 436.3 kB / 487.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/0.3799, allocations: 255.5 kB / 488.1 MB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3801, allocations: 357.9 kB / 488.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.3814, allocations: 0.7339 MB / 489.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.383, allocations: 1.055 MB / 490.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.3859, allocations: 1.875 MB / 492.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3859, allocations: 4 kB / 492.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004395/0.3903, allocations: 2.35 MB / 494.4 MB, free: 7.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3903, allocations: 8 kB / 494.4 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.3904, allocations: 12 kB / 494.4 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.3914, allocations: 410.5 kB / 494.8 MB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.3928, allocations: 331.5 kB / 495.2 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006014/0.3988, allocations: 4.783 MB / 500 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4002, allocations: 95.91 kB / 0.4883 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4003, allocations: 55.98 kB / 0.4884 GB, free: 1.77 MB / 398.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.001211/0.4015, allocations: 0.712 MB / 0.4891 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.4018, allocations: 159 kB / 0.4892 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.4058, allocations: 2.117 MB / 0.4913 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4058, allocations: 7.922 kB / 0.4913 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4058, allocations: 0 / 0.4913 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.4067, allocations: 326.8 kB / 0.4916 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.4069, allocations: 20 kB / 0.4916 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.4077, allocations: 79.91 kB / 0.4917 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.4079, allocations: 108.8 kB / 0.4918 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004717/0.4126, allocations: 2.242 MB / 0.494 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004249/0.4169, allocations: 2.895 MB / 0.4968 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00118/0.418, allocations: 0.7651 MB / 0.4976 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.4194, allocations: 0.947 MB / 0.4985 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Backend: time 3.5e-07/0.4194, allocations: 0 / 0.4985 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.4227, allocations: 1.532 MB / 0.5 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 0.007176/0.4299, allocations: 4.732 MB / 0.5046 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of Templates: time 0.04944/0.4793, allocations: 30.57 MB / 0.5345 GB, free: 2.805 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 6.3613394320054795]