Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.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.002557/0.002557, allocations: 103.5 kB / 21.74 MB, free: 2.684 MB / 18.57 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.002905/0.002905, allocations: 160.8 kB / 25.03 MB, free: 8.926 MB / 18.57 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.439/1.439, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.873e-05, allocations: 2.312 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.0179/0.01793, allocations: 12.66 MB / 263.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009222/0.02715, allocations: 4.196 MB / 267.3 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.02896, allocations: 91.31 kB / 267.4 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.0316, allocations: 0.9625 MB / 268.3 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.03538, allocations: 1.277 MB / 269.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.03669, allocations: 0.542 MB / 270.1 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006643/0.04333, allocations: 4.841 MB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.04652, allocations: 1.971 MB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006207/0.05272, allocations: 3.207 MB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.05703, allocations: 2.483 MB / 282.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.05817, allocations: 0.5546 MB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.05969, allocations: 0.6443 MB / 283.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.06159, allocations: 1.605 MB / 285.4 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.0647, allocations: 1.742 MB / 287.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009873/0.07457, allocations: 7.58 MB / 294.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.07458, allocations: 4 kB / 294.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07458, allocations: 0 / 294.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.07476, allocations: 0 / 294.8 MB, free: 11.22 MB / 282.7 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.0129/0.08766, allocations: 5.318 MB / 300.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.0877, allocations: 11.98 kB / 300.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.08985, allocations: 0.8143 MB / 300.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/0.09532, allocations: 2.215 MB / 303.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.09561, allocations: 271.4 kB / 303.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007436/0.09635, allocations: 360.2 kB / 303.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.1066, allocations: 5.036 MB / 308.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.172e-05/0.1067, allocations: 11.94 kB / 308.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.1071, allocations: 148 kB / 308.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.1073, allocations: 179.1 kB / 309.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007957/0.1152, allocations: 3.482 MB / 312.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/0.1493, allocations: 18.07 MB / 330.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.1534, allocations: 2.245 MB / 332.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.1566, allocations: 1.513 MB / 334.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.1569, allocations: 69.97 kB / 334.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.468e-05/0.157, allocations: 59.39 kB / 334.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.017e-06/0.157, allocations: 0 / 334.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01814/0.1751, allocations: 7.199 MB / 341.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1752, allocations: 73.41 kB / 341.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/0.1798, allocations: 2.579 MB / 344.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.1801, allocations: 61.7 kB / 344.5 MB, free: 8.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.1819, allocations: 1.872 MB / 346.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.183, allocations: 0.8334 MB / 347.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009551/0.1839, allocations: 0.5064 MB / 347.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.1842, allocations: 476.8 kB / 348.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.186, allocations: 0.875 MB / 349 MB, free: 3.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.1888, allocations: 1.613 MB / 350.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1011/0.29, allocations: 2.748 MB / 353.4 MB, free: 94.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.29, allocations: 8.109 kB / 353.4 MB, free: 94.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005305/0.2953, allocations: 3.183 MB / 356.6 MB, free: 94.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.2953, allocations: 14.66 kB / 356.6 MB, free: 94.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.2953, allocations: 14.53 kB / 356.6 MB, free: 94.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002684/0.298, allocations: 0.709 MB / 357.3 MB, free: 93.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.2998, allocations: 0.5308 MB / 357.8 MB, free: 93.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.3065, allocations: 9.077 MB / 366.9 MB, free: 88.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.3081, allocations: 112.5 kB / 367 MB, free: 88.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.3083, allocations: 88.11 kB / 367.1 MB, free: 88.3 MB / 330.7 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.001346/0.3096, allocations: 1.015 MB / 368.1 MB, free: 87.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/0.3101, allocations: 338.3 kB / 368.4 MB, free: 87.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.3145, allocations: 2.738 MB / 371.2 MB, free: 86.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3145, allocations: 18.09 kB / 371.2 MB, free: 86.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3146, allocations: 6.75 kB / 371.2 MB, free: 86.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.3146, allocations: 15.89 kB / 371.2 MB, free: 86.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.3251, allocations: 6.972 MB / 378.2 MB, free: 79.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.3251, allocations: 4 kB / 378.2 MB, free: 79.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.3265, allocations: 387.8 kB / 378.6 MB, free: 79.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/0.3294, allocations: 0.7729 MB / 379.4 MB, free: 78.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.3296, allocations: 55.8 kB / 379.4 MB, free: 78.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007312/0.3369, allocations: 10.71 MB / 390.1 MB, free: 67.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3369, allocations: 7.938 kB / 390.1 MB, free: 67.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.3426, allocations: 3.975 MB / 394.1 MB, free: 63.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.344, allocations: 0.4943 MB / 394.6 MB, free: 63.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.3444, allocations: 51.98 kB / 394.6 MB, free: 62.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.3457, allocations: 115.9 kB / 394.8 MB, free: 62.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.346, allocations: 193.5 kB / 394.9 MB, free: 62.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.3462, allocations: 59.98 kB / 395 MB, free: 62.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001742/0.3479, allocations: 1.516 MB / 396.5 MB, free: 61.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3479, allocations: 0 / 396.5 MB, free: 61.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002081/0.35, allocations: 0.7932 MB / 397.3 MB, free: 60.29 MB / 330.7 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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0005244/0.3505, allocations: 235.3 kB / 397.5 MB, free: 60.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004259/0.3548, allocations: 3.168 MB / 400.7 MB, free: 56.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3548, allocations: 4 kB / 400.7 MB, free: 56.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.3575, allocations: 2.211 MB / 402.9 MB, free: 54.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.3604, allocations: 0.6591 MB / 403.6 MB, free: 53.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/0.37, allocations: 7.002 MB / 410.6 MB, free: 46.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.3717, allocations: 2.066 MB / 412.7 MB, free: 44.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00155/0.3732, allocations: 0.5006 MB / 413.2 MB, free: 44.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/0.3737, allocations: 172.2 kB / 413.3 MB, free: 44.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3737, allocations: 0 / 413.3 MB, free: 44.07 MB / 330.7 MB Notification: Performance of Templates: time 0.05539/0.4291, allocations: 40.3 MB / 453.6 MB, free: 3.793 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.783462502062321]