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.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.001381/0.001381, allocations: 104 kB / 21.96 MB, free: 5.219 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.001425/0.001425, allocations: 210.1 kB / 25.25 MB, free: 3.133 MB / 14.72 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.419/1.419, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 47.92 kB / 348 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.262, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007633/0.2697, allocations: 6.824 MB / 404 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.2746, allocations: 2.62 MB / 406.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.2755, allocations: 77.19 kB / 406.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.2768, allocations: 0.583 MB / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.2791, allocations: 0.7747 MB / 408 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.2801, allocations: 443.5 kB / 408.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.2838, allocations: 3.406 MB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.2865, allocations: 1.914 MB / 413.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.29, allocations: 1.691 MB / 415.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.2938, allocations: 2.07 MB / 417.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00092/0.2947, allocations: 464.9 kB / 418 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.2965, allocations: 0.6624 MB / 418.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.2979, allocations: 1.268 MB / 419.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.3002, allocations: 1.583 MB / 421.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007518/0.3077, allocations: 6.135 MB / 427.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3077, allocations: 0 / 427.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3077, allocations: 0 / 427.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.3079, allocations: 0 / 427.6 MB, free: 4.547 MB / 334.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.008543/0.3164, allocations: 3.797 MB / 431.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3165, allocations: 19.98 kB / 431.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.48e-05/0.3166, allocations: 78.03 kB / 431.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005747/0.3171, allocations: 425.9 kB / 431.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/0.3181, allocations: 406.6 kB / 432.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.3216, allocations: 1.912 MB / 434.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.3218, allocations: 221.8 kB / 434.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.3222, allocations: 291.9 kB / 434.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007479/0.3297, allocations: 4.434 MB / 439.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.3298, allocations: 0 / 439.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.33, allocations: 120 kB / 439.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.3302, allocations: 141.9 kB / 439.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006023/0.3362, allocations: 3.49 MB / 442.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.3538, allocations: 9.716 MB / 452.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.3564, allocations: 1.636 MB / 454.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.3588, allocations: 1.411 MB / 455.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.359, allocations: 44.91 kB / 455.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.3591, allocations: 51.56 kB / 455.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/0.3591, allocations: 0 / 455.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01004/0.3691, allocations: 5.167 MB / 461 MB, free: 2.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.3692, allocations: 90.42 kB / 461.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/0.3722, allocations: 1.913 MB / 463 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.3724, allocations: 45.7 kB / 463 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.3735, allocations: 1.357 MB / 464.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.374, allocations: 479.9 kB / 464.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.3744, allocations: 271.5 kB / 465.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3746, allocations: 305.1 kB / 465.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3759, allocations: 0.8198 MB / 466.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.3775, allocations: 1.204 MB / 467.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.3804, allocations: 2.095 MB / 469.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.3804, allocations: 4 kB / 469.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004307/0.3847, allocations: 2.524 MB / 472 MB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.3847, allocations: 19.89 kB / 472.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.3848, allocations: 8 kB / 472.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.3867, allocations: 487.3 kB / 472.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.388, allocations: 335.5 kB / 472.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.3937, allocations: 4.246 MB / 477.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.395, allocations: 87.88 kB / 477.2 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3952, allocations: 52 kB / 477.3 MB, free: 1.977 MB / 382.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.001843/0.397, allocations: 1.048 MB / 478.3 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.3974, allocations: 202.8 kB / 478.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.4011, allocations: 2.137 MB / 480.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-05/0.4011, allocations: 19.98 kB / 480.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4011, allocations: 8 kB / 480.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4011, allocations: 7.969 kB / 480.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008595/0.4097, allocations: 4.873 MB / 485.5 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.4097, allocations: 0 / 485.5 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4108, allocations: 227.7 kB / 485.8 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.4127, allocations: 461.1 kB / 486.2 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.4128, allocations: 31.97 kB / 486.3 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.4184, allocations: 4.133 MB / 490.4 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.4184, allocations: 7.938 kB / 490.4 MB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.4238, allocations: 3.245 MB / 493.6 MB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.4249, allocations: 390.7 kB / 494 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.4252, allocations: 28 kB / 494 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/0.4262, allocations: 99.95 kB / 494.1 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.4264, allocations: 108.5 kB / 494.2 MB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4265, allocations: 43.98 kB / 494.3 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002112/0.4286, allocations: 1.338 MB / 495.6 MB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4286, allocations: 4 kB / 495.6 MB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4305, allocations: 0.5546 MB / 496.2 MB, free: 14.77 MB / 414.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.006134/0.4367, allocations: 3.936 MB / 0.4884 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003881/0.4405, allocations: 2.121 MB / 0.4905 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4406, allocations: 0.8125 kB / 0.4905 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.4426, allocations: 1.175 MB / 0.4916 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.4452, allocations: 0.5055 MB / 0.4921 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/0.4802, allocations: 20.64 MB / 0.5123 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/0.4824, allocations: 1.872 MB / 0.5141 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001524/0.484, allocations: 495.4 kB / 0.5146 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.4854, allocations: 1.066 MB / 0.5156 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4854, allocations: 0 / 0.5156 GB, free: 14.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/0.7738, allocations: 55.48 MB / 0.5698 GB, free: 147.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.23, allocations: 9.203 kB / 0.5698 GB, free: 147.1 MB / 478.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.95821223105304]