Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108.4 kB / 18.34 MB, free: 4.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 52.31 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08711, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008548/0.09571, allocations: 7.725 MB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.1009, allocations: 2.723 MB / 339.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.102, allocations: 55.69 kB / 339.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1033, allocations: 0.5586 MB / 339.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.105, allocations: 0.7341 MB / 340.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.1059, allocations: 443.4 kB / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.1091, allocations: 3.401 MB / 344.4 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003722/0.1128, allocations: 3.441 MB / 347.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.1157, allocations: 1.653 MB / 349.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.1182, allocations: 2.024 MB / 351.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005941/0.1189, allocations: 460 kB / 351.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.1199, allocations: 0.6714 MB / 352.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1209, allocations: 1.239 MB / 353.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.1232, allocations: 1.968 MB / 355.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.1284, allocations: 6.091 MB / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1284, allocations: 0 / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1284, allocations: 0 / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.853e-05/0.1285, allocations: 0 / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006636/0.1351, allocations: 3.771 MB / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1352, allocations: 8.031 kB / 365.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.1361, allocations: 396.5 kB / 366.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.1395, allocations: 1.971 MB / 368 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.1397, allocations: 221.8 kB / 368.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004302/0.1401, allocations: 287.9 kB / 368.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006181/0.1463, allocations: 4.183 MB / 372.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/0.1464, allocations: 0 / 372.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.1466, allocations: 119.9 kB / 372.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.1468, allocations: 145.9 kB / 373 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005134/0.1519, allocations: 3.49 MB / 376.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/0.3127, allocations: 10.77 MB / 387.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.3154, allocations: 2.646 MB / 389.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.3176, allocations: 1.494 MB / 391.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.3179, allocations: 118.6 kB / 391.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3179, allocations: 46.53 kB / 391.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.3179, allocations: 0 / 391.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.008074/0.326, allocations: 5.288 MB / 396.8 MB, free: 41.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.326, allocations: 96.06 kB / 396.9 MB, free: 41.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.3283, allocations: 1.91 MB / 398.8 MB, free: 40.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.3284, allocations: 45.67 kB / 398.9 MB, free: 40.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.329, allocations: 1.324 MB / 400.2 MB, free: 39.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.3292, allocations: 454.7 kB / 400.6 MB, free: 38.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.3296, allocations: 274.5 kB / 400.9 MB, free: 38.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.3296, allocations: 313 kB / 401.2 MB, free: 38.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3306, allocations: 0.8118 MB / 402 MB, free: 37.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.3317, allocations: 1.184 MB / 403.2 MB, free: 36.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.3337, allocations: 2.085 MB / 405.3 MB, free: 35.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3337, allocations: 3.656 kB / 405.3 MB, free: 35.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003177/0.3369, allocations: 2.53 MB / 407.8 MB, free: 33.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3369, allocations: 12 kB / 407.8 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3369, allocations: 8 kB / 407.8 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.3386, allocations: 478.9 kB / 408.3 MB, free: 33.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.3398, allocations: 339.5 kB / 408.6 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.3438, allocations: 4.399 MB / 413 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.345, allocations: 79.84 kB / 413.1 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.3451, allocations: 63.98 kB / 413.2 MB, free: 28.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.3464, allocations: 1.05 MB / 414.2 MB, free: 27.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.3468, allocations: 193.8 kB / 414.4 MB, free: 27.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.3495, allocations: 2.141 MB / 416.6 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.3496, allocations: 19.94 kB / 416.6 MB, free: 24.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3496, allocations: 11.98 kB / 416.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3496, allocations: 3.984 kB / 416.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006852/0.3565, allocations: 5.172 MB / 421.8 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3565, allocations: 4 kB / 421.8 MB, free: 19.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.3574, allocations: 227.9 kB / 422 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.359, allocations: 461.8 kB / 422.4 MB, free: 18.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.3591, allocations: 37.19 kB / 422.5 MB, free: 18.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.3629, allocations: 4.287 MB / 426.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3629, allocations: 8.016 kB / 426.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.3667, allocations: 3.255 MB / 430 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/0.3676, allocations: 450.8 kB / 430.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.3678, allocations: 35.69 kB / 430.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/0.3687, allocations: 99.95 kB / 430.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3689, allocations: 98.72 kB / 430.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.578e-05/0.369, allocations: 42.94 kB / 430.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.3705, allocations: 1.33 MB / 432.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3705, allocations: 0 / 432.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00149/0.372, allocations: 0.5557 MB / 432.6 MB, free: 8.531 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004828/0.3725, allocations: 223.8 kB / 432.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.3751, allocations: 2.195 MB / 435 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3752, allocations: 0 / 435 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.3766, allocations: 1.223 MB / 436.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.3784, allocations: 0.5141 MB / 436.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/0.386, allocations: 5.73 MB / 442.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.3881, allocations: 2.431 MB / 444.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3893, allocations: 487.4 kB / 445.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.3897, allocations: 135.4 kB / 445.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3897, allocations: 4 kB / 445.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Templates: time 0.04893/0.4386, allocations: 30.19 MB / 475.7 MB, free: 13.3 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches