Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 185.9 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 43.92 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2387, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01467/0.2534, allocations: 11.31 MB / 434.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00884/0.2623, allocations: 3.965 MB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.2645, allocations: 99.38 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.2677, allocations: 0.9496 MB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.273, allocations: 1.239 MB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.2751, allocations: 0.5188 MB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007632/0.2827, allocations: 4.626 MB / 445.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/0.2872, allocations: 2.015 MB / 447.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/0.2929, allocations: 2.177 MB / 450 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0056/0.2985, allocations: 2.541 MB / 452.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001979/0.3005, allocations: 0.5508 MB / 453.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.3031, allocations: 0.6366 MB / 453.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.3055, allocations: 1.539 MB / 455.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.3091, allocations: 2.011 MB / 457.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009916/0.319, allocations: 7.486 MB / 464.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3191, allocations: 0 / 464.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3191, allocations: 0 / 464.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002319/0.3193, allocations: 0 / 464.8 MB, free: 4.598 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01149/0.3308, allocations: 4.735 MB / 469.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3308, allocations: 8.031 kB / 469.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.3322, allocations: 0.5136 MB / 470 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/0.3373, allocations: 2.528 MB / 472.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.3376, allocations: 267 kB / 472.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005974/0.3382, allocations: 355.9 kB / 473.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008444/0.3466, allocations: 5.28 MB / 478.4 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.3467, allocations: 15.89 kB / 478.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.347, allocations: 144 kB / 478.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.3472, allocations: 187 kB / 478.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007761/0.355, allocations: 4.287 MB / 483.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.3795, allocations: 12.85 MB / 495.9 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.3837, allocations: 2.692 MB / 498.6 MB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.3871, allocations: 1.87 MB / 0.4888 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.3873, allocations: 57.97 kB / 0.4888 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3874, allocations: 56.56 kB / 0.4889 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.837e-06/0.3874, allocations: 0 / 0.4889 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02047/0.4078, allocations: 9.59 MB / 0.4982 GB, free: 6.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4079, allocations: 77.41 kB / 0.4983 GB, free: 6.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.4115, allocations: 2.179 MB / 0.5004 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.4116, allocations: 73.62 kB / 0.5005 GB, free: 4.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.4131, allocations: 1.66 MB / 0.5021 GB, free: 2.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007124/0.4138, allocations: 0.7669 MB / 0.5029 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.4145, allocations: 420.5 kB / 0.5033 GB, free: 1.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4146, allocations: 305.1 kB / 0.5036 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.4168, allocations: 1.297 MB / 0.5048 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.4193, allocations: 1.782 MB / 0.5066 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.4242, allocations: 3.204 MB / 0.5097 GB, free: 10.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.4242, allocations: 4 kB / 0.5097 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007343/0.4315, allocations: 4.046 MB / 0.5137 GB, free: 6.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4315, allocations: 12 kB / 0.5137 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.4316, allocations: 23.95 kB / 0.5137 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.4344, allocations: 0.8834 MB / 0.5146 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.4364, allocations: 0.5188 MB / 0.5151 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.4478, allocations: 9 MB / 0.5238 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.4498, allocations: 127.8 kB / 0.524 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.4499, allocations: 84 kB / 0.524 GB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (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.00217/0.4521, allocations: 1.208 MB / 0.5252 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/0.4526, allocations: 254.4 kB / 0.5255 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006556/0.4591, allocations: 3.685 MB / 0.5291 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.4591, allocations: 23.98 kB / 0.5291 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.4592, allocations: 12 kB / 0.5291 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.4592, allocations: 7.969 kB / 0.5291 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2293/0.6885, allocations: 7.097 MB / 0.536 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.6885, allocations: 2.594 kB / 0.536 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.6903, allocations: 389.9 kB / 0.5364 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/0.6931, allocations: 0.9242 MB / 0.5373 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.6933, allocations: 60.89 kB / 0.5374 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/0.7022, allocations: 10.47 MB / 0.5476 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7022, allocations: 14.03 kB / 0.5476 GB, free: 98.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/0.709, allocations: 5.486 MB / 0.553 GB, free: 96.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.7105, allocations: 0.5403 MB / 0.5535 GB, free: 96.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.7108, allocations: 50.66 kB / 0.5536 GB, free: 96.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.712, allocations: 115 kB / 0.5537 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/0.7124, allocations: 191 kB / 0.5538 GB, free: 96.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7125, allocations: 63.17 kB / 0.5539 GB, free: 96.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.7143, allocations: 1.477 MB / 0.5553 GB, free: 95.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7143, allocations: 6.219 kB / 0.5554 GB, free: 95.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001937/0.7162, allocations: 0.7965 MB / 0.5561 GB, free: 94.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,25,88.9%), (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.0005031/0.7167, allocations: 237 kB / 0.5564 GB, free: 94.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004823/0.7215, allocations: 3.61 MB / 0.5599 GB, free: 91.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7216, allocations: 0 / 0.5599 GB, free: 91.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.7246, allocations: 2.325 MB / 0.5622 GB, free: 88.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.7275, allocations: 0.6186 MB / 0.5628 GB, free: 88.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7376, allocations: 7.846 MB / 0.5704 GB, free: 80.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.7395, allocations: 2.23 MB / 0.5726 GB, free: 78.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002163/0.7416, allocations: 0.6433 MB / 0.5732 GB, free: 77.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.7422, allocations: 163.4 kB / 0.5734 GB, free: 77.43 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7422, allocations: 0 / 0.5734 GB, free: 77.43 MB / 446.1 MB Notification: Performance of Templates: time 0.06465/0.8069, allocations: 44.84 MB / 0.6172 GB, free: 33.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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: 7.659753039479256]