Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.0007996/0.0007998, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008513/0.0008514, allocations: 175.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002461, allocations: 4 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09886, allocations: 50.41 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008246/0.1072, allocations: 7.21 MB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.1125, allocations: 2.598 MB / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.1136, allocations: 59.69 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.1147, allocations: 485.4 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1164, allocations: 0.6763 MB / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.1171, allocations: 363.6 kB / 363.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.1206, allocations: 3.67 MB / 366.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003224/0.1238, allocations: 2.936 MB / 369.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.1264, allocations: 1.202 MB / 371 MB, free: 156 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1784/0.3048, allocations: 1.649 MB / 372.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006803/0.3055, allocations: 188.6 kB / 372.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.307, allocations: 427.4 kB / 373.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.3083, allocations: 0.91 MB / 374.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.3107, allocations: 1.616 MB / 375.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.3177, allocations: 5.718 MB / 381.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3178, allocations: 0 / 381.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3178, allocations: 1.812 kB / 381.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001738/0.318, allocations: 2.625 kB / 381.5 MB, free: 9.984 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.01001/0.328, allocations: 3.191 MB / 384.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.3281, allocations: 9.531 kB / 384.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.3304, allocations: 388.7 kB / 385.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.3344, allocations: 2.088 MB / 387.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.3346, allocations: 225.5 kB / 387.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.3352, allocations: 285.9 kB / 387.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/0.3427, allocations: 4.196 MB / 391.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.3428, allocations: 0 / 391.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.3431, allocations: 120.4 kB / 392 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3432, allocations: 141.7 kB / 392.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/0.3485, allocations: 3.503 MB / 395.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.3647, allocations: 10.99 MB / 406.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.3677, allocations: 2.637 MB / 409.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.3702, allocations: 1.484 MB / 410.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.3704, allocations: 125.4 kB / 410.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3705, allocations: 50.31 kB / 410.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.377e-06/0.3705, allocations: 0 / 410.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009972/0.3805, allocations: 5.203 MB / 416.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.3806, allocations: 93.42 kB / 416.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.384, allocations: 1.906 MB / 418.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3841, allocations: 49.7 kB / 418.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.3855, allocations: 1.324 MB / 419.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/0.386, allocations: 452.2 kB / 419.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.3862, allocations: 125.6 kB / 420.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00032/0.3865, allocations: 301.1 kB / 420.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.3879, allocations: 0.8237 MB / 421.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3895, allocations: 1.192 MB / 422.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.3929, allocations: 2.095 MB / 424.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.3929, allocations: 3.938 kB / 424.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00495/0.3979, allocations: 2.536 MB / 427 MB, free: 6.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.398, allocations: 8 kB / 427 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.398, allocations: 12 kB / 427 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.4002, allocations: 483.1 kB / 427.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.4015, allocations: 344.8 kB / 427.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/0.407, allocations: 4.057 MB / 431.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4087, allocations: 87.91 kB / 432 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4088, allocations: 63.98 kB / 432 MB, free: 1.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.002119/0.4109, allocations: 1.044 MB / 433.1 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.4114, allocations: 187.8 kB / 433.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.4151, allocations: 2.158 MB / 435.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.4152, allocations: 20 kB / 435.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.4152, allocations: 7.984 kB / 435.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4152, allocations: 3.984 kB / 435.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008446/0.4237, allocations: 5.21 MB / 440.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4237, allocations: 4.031 kB / 440.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4247, allocations: 232.5 kB / 440.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.4267, allocations: 461.8 kB / 441.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.4268, allocations: 31.98 kB / 441.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/0.4318, allocations: 3.976 MB / 445.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4318, allocations: 1.406 kB / 445.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.4367, allocations: 3.269 MB / 448.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.4376, allocations: 468.2 kB / 449.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.4379, allocations: 31.94 kB / 449.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.439, allocations: 107.9 kB / 449.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.4392, allocations: 88.86 kB / 449.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.4393, allocations: 48.69 kB / 449.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002209/0.4415, allocations: 1.334 MB / 450.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4415, allocations: 0 / 450.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002188/0.4437, allocations: 0.5546 MB / 451.2 MB, free: 13.78 MB / 366.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.0005883/0.4443, allocations: 233.1 kB / 451.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.4481, allocations: 2.197 MB / 453.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4481, allocations: 0 / 453.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.4501, allocations: 1.215 MB / 454.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.4531, allocations: 499.3 kB / 455.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.4659, allocations: 7.078 MB / 462.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.4684, allocations: 2.434 MB / 464.9 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001751/0.4702, allocations: 495.4 kB / 465.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.4707, allocations: 135.4 kB / 465.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4707, allocations: 0 / 465.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04927/0.5199, allocations: 28.64 MB / 494.1 MB, free: 3.234 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches