Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.00156/0.00156, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001711/0.001711, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.98 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.92 kB / 379 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2274, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01253/0.2399, allocations: 10.43 MB / 442.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00629/0.2462, allocations: 3.31 MB / 446.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.2475, allocations: 71.56 kB / 446.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.2495, allocations: 0.7298 MB / 446.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.2523, allocations: 0.9322 MB / 447.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2534, allocations: 435.4 kB / 448.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.2579, allocations: 3.42 MB / 451.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.2601, allocations: 1.416 MB / 453.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.2625, allocations: 1.569 MB / 454.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.2655, allocations: 1.899 MB / 456.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006546/0.2661, allocations: 400 kB / 457 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.2672, allocations: 499.8 kB / 457.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.2683, allocations: 1.126 MB / 458.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.2706, allocations: 1.781 MB / 460.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.2767, allocations: 5.243 MB / 465.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.2767, allocations: 0 / 465.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2767, allocations: 0 / 465.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001206/0.2768, allocations: 0 / 465.6 MB, free: 5.527 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007504/0.2844, allocations: 3.554 MB / 469.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2844, allocations: 8.031 kB / 469.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.2855, allocations: 406.7 kB / 469.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.2891, allocations: 1.878 MB / 471.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.2893, allocations: 201 kB / 471.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.2897, allocations: 256 kB / 471.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/0.2954, allocations: 3.531 MB / 475.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/0.2955, allocations: 11.89 kB / 475.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.2957, allocations: 108 kB / 475.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.2958, allocations: 108.9 kB / 475.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.3011, allocations: 3.095 MB / 478.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.3181, allocations: 10.62 MB / 489.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.3213, allocations: 2.051 MB / 491.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.3234, allocations: 1.297 MB / 492.7 MB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3237, allocations: 49.27 kB / 492.8 MB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.3254, allocations: 1.16 MB / 493.9 MB, free: 8.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.447e-06/0.3254, allocations: 0 / 493.9 MB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.01969/0.3451, allocations: 8.442 MB / 0.4906 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3453, allocations: 184.2 kB / 0.4908 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.3481, allocations: 1.848 MB / 0.4926 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.3484, allocations: 57.7 kB / 0.4926 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.3495, allocations: 1.226 MB / 0.4938 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/0.3502, allocations: 0.5888 MB / 0.4944 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.3507, allocations: 359.5 kB / 0.4948 GB, free: 11.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3509, allocations: 309.1 kB / 0.4951 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.3525, allocations: 0.9993 MB / 0.496 GB, free: 10.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3545, allocations: 1.434 MB / 0.4974 GB, free: 9.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.3582, allocations: 2.45 MB / 0.4998 GB, free: 6.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3582, allocations: 0 / 0.4998 GB, free: 6.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005834/0.364, allocations: 3.323 MB / 0.5031 GB, free: 3.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.364, allocations: 8 kB / 0.5031 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.3641, allocations: 12 kB / 0.5031 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.3662, allocations: 0.8886 MB / 0.504 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3674, allocations: 331.5 kB / 0.5043 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.3801, allocations: 10.13 MB / 0.5142 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.3817, allocations: 131.9 kB / 0.5143 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.3819, allocations: 79.92 kB / 0.5144 GB, free: 7.137 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001642/0.3835, allocations: 0.9269 MB / 0.5153 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.3839, allocations: 218.6 kB / 0.5155 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/0.3894, allocations: 3.095 MB / 0.5185 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.3894, allocations: 16 kB / 0.5185 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.3895, allocations: 8 kB / 0.5185 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.3895, allocations: 7.969 kB / 0.5185 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.4007, allocations: 6.174 MB / 0.5246 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.4007, allocations: 4 kB / 0.5246 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/0.4016, allocations: 207.7 kB / 0.5248 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.4039, allocations: 0.937 MB / 0.5257 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.4041, allocations: 39.97 kB / 0.5257 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1926/0.5967, allocations: 11.61 MB / 0.5371 GB, free: 99.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5967, allocations: 7.141 kB / 0.5371 GB, free: 99.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006807/0.6035, allocations: 4.5 MB / 0.5415 GB, free: 99.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.6048, allocations: 439.2 kB / 0.5419 GB, free: 99.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.6051, allocations: 42.44 kB / 0.5419 GB, free: 99.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.6061, allocations: 103 kB / 0.542 GB, free: 99.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.6065, allocations: 203.1 kB / 0.5422 GB, free: 99.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.6066, allocations: 46.38 kB / 0.5423 GB, free: 99.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.6083, allocations: 1.274 MB / 0.5435 GB, free: 98.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6083, allocations: 0 / 0.5435 GB, free: 98.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001883/0.6102, allocations: 0.6318 MB / 0.5441 GB, free: 98.61 MB / 446.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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (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.000356/0.6106, allocations: 210.1 kB / 0.5443 GB, free: 98.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.6145, allocations: 3.016 MB / 0.5473 GB, free: 97.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6145, allocations: 2.812 kB / 0.5473 GB, free: 97.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.617, allocations: 2.049 MB / 0.5493 GB, free: 96.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6191, allocations: 0.5673 MB / 0.5498 GB, free: 96.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.626, allocations: 5.836 MB / 0.5555 GB, free: 92.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.6273, allocations: 2.155 MB / 0.5576 GB, free: 90.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.6278, allocations: 142.6 kB / 0.5578 GB, free: 90.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6278, allocations: 0 / 0.5578 GB, free: 90.33 MB / 446.1 MB Notification: Performance of Templates: time 0.08007/0.7078, allocations: 103.7 MB / 0.659 GB, free: 2.992 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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: 14.155799561878666]