Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001222/0.001222, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001959/0.001959, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.09059, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.0277/0.1183, allocations: 29.57 MB / 358.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.1322, allocations: 7.418 MB / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.1369, allocations: 223.2 kB / 365.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02819/0.1651, allocations: 13.16 MB / 379.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.181/0.3461, allocations: 3.035 MB / 382.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009276/0.3554, allocations: 1.899 MB / 384 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02297/0.3784, allocations: 18.93 MB / 403 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06806/0.4465, allocations: 44.66 MB / 447.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01658/0.4631, allocations: 10.3 MB / 457.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/0.4811, allocations: 11.54 MB / 469.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006571/0.4877, allocations: 2.973 MB / 472.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009304/0.4971, allocations: 3.227 MB / 475.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007681/0.5048, allocations: 5.762 MB / 481.4 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01879/0.5236, allocations: 11.22 MB / 492.6 MB, free: 8.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03927/0.5629, allocations: 39.66 MB / 0.5198 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5629, allocations: 0 / 0.5198 GB, free: 1.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.686e-06/0.5629, allocations: 0 / 0.5198 GB, free: 1.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00123/0.5642, allocations: 3.656 kB / 0.5198 GB, free: 1.691 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.3563/0.9205, allocations: 22.87 MB / 0.5422 GB, free: 129.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9205, allocations: 10.16 kB / 0.5422 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06415/0.9847, allocations: 12.28 MB / 0.5542 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.008, allocations: 10.54 MB / 0.5645 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/1.009, allocations: 1.406 MB / 0.5658 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00617/1.015, allocations: 1.832 MB / 0.5676 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06136/1.077, allocations: 30.84 MB / 0.5977 GB, free: 90.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000746/1.077, allocations: 27.73 kB / 0.5978 GB, free: 90.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005412/1.083, allocations: 0.7603 MB / 0.5985 GB, free: 89.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007779/1.084, allocations: 0.9646 MB / 0.5994 GB, free: 88.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04818/1.132, allocations: 27.87 MB / 0.6267 GB, free: 60.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4636/1.595, allocations: 93.19 MB / 0.7177 GB, free: 123 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04691/1.642, allocations: 53.34 MB / 0.7698 GB, free: 78.02 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01166/1.654, allocations: 5.843 MB / 0.7755 GB, free: 77.94 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03714/1.691, allocations: 16.58 MB / 0.7917 GB, free: 74.19 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.253e-05/1.691, allocations: 77 kB / 0.7917 GB, free: 74.12 MB / 478.3 MB Notification: Performance of pre-optimization done (n=427): time 1.142e-05/1.691, allocations: 3.75 kB / 0.7917 GB, free: 74.12 MB / 478.3 MB Notification: Performance of matching and sorting (n=427): time 0.0466/1.738, allocations: 13.22 MB / 0.8046 GB, free: 70.18 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.738, allocations: 119.8 kB / 0.8048 GB, free: 70.09 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01472/1.753, allocations: 7.484 MB / 0.8121 GB, free: 67.49 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0007854/1.754, allocations: 92.77 kB / 0.8122 GB, free: 67.41 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005729/1.76, allocations: 8.529 MB / 0.8205 GB, free: 59.98 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.762, allocations: 1.554 MB / 0.822 GB, free: 58.66 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004438/1.766, allocations: 2.277 MB / 0.8242 GB, free: 57.37 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/1.766, allocations: 305.1 kB / 0.8245 GB, free: 57.07 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009875/1.776, allocations: 4.703 MB / 0.8291 GB, free: 54.57 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/1.789, allocations: 10.4 MB / 0.8393 GB, free: 44.18 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/1.805, allocations: 15.98 MB / 0.8549 GB, free: 27.93 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/1.805, allocations: 60 kB / 0.8549 GB, free: 27.88 MB / 478.3 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02547/1.83, allocations: 16.01 MB / 0.8706 GB, free: 11.85 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/1.831, allocations: 88 kB / 0.8707 GB, free: 11.77 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/1.831, allocations: 200 kB / 0.8708 GB, free: 11.57 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/1.836, allocations: 1.692 MB / 0.8725 GB, free: 9.871 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008549/1.845, allocations: 2.507 MB / 0.8749 GB, free: 7.359 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.86, allocations: 11.53 MB / 0.8862 GB, free: 11.7 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009685/1.869, allocations: 1.548 MB / 0.8877 GB, free: 10.14 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/1.871, allocations: 0.6015 MB / 0.8883 GB, free: 9.539 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01396/1.885, allocations: 7.39 MB / 0.8955 GB, free: 2.129 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.887, allocations: 0.6326 MB / 0.8961 GB, free: 1.488 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2227/2.11, allocations: 8.08 MB / 0.904 GB, free: 149.2 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009264/2.119, allocations: 6.486 MB / 0.9104 GB, free: 146.9 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/2.119, allocations: 12.97 kB / 0.9104 GB, free: 146.9 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/2.119, allocations: 23.39 kB / 0.9104 GB, free: 146.9 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03636/2.155, allocations: 20.73 MB / 0.9306 GB, free: 139.2 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/2.155, allocations: 7.844 kB / 0.9306 GB, free: 139.2 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/2.159, allocations: 0.7656 MB / 0.9314 GB, free: 139.1 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005153/2.164, allocations: 1.456 MB / 0.9328 GB, free: 138.8 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/2.164, allocations: 94.66 kB / 0.9329 GB, free: 138.8 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/2.178, allocations: 11.14 MB / 0.9438 GB, free: 132.9 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.178, allocations: 0 / 0.9438 GB, free: 132.9 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/2.196, allocations: 11.72 MB / 0.9552 GB, free: 128.2 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/2.2, allocations: 1.307 MB / 0.9565 GB, free: 127.4 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/2.202, allocations: 76.28 kB / 0.9566 GB, free: 127.3 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004132/2.206, allocations: 299.8 kB / 0.9569 GB, free: 127.3 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009663/2.207, allocations: 294.5 kB / 0.9571 GB, free: 127.2 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005346/2.208, allocations: 133.5 kB / 0.9573 GB, free: 127.2 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.008877/2.216, allocations: 4.923 MB / 0.9621 GB, free: 123.3 MB / 494.3 MB Notification: Performance of sort global known variables: time 3.31e-07/2.216, allocations: 1.312 kB / 0.9621 GB, free: 123.3 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01261/2.229, allocations: 4.186 MB / 0.9662 GB, free: 119.1 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/2.23, allocations: 272.9 kB / 0.9664 GB, free: 118.9 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01576/2.246, allocations: 10.97 MB / 0.9771 GB, free: 108.1 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/2.246, allocations: 0 / 0.9771 GB, free: 108.1 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00589/2.252, allocations: 3.94 MB / 0.981 GB, free: 104.2 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0084/2.26, allocations: 1.54 MB / 0.9825 GB, free: 102.7 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0563/2.317, allocations: 29.67 MB / 1.011 GB, free: 73.03 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01812/2.335, allocations: 11.62 MB / 1.023 GB, free: 61.37 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01073/2.346, allocations: 3.979 MB / 1.027 GB, free: 57.38 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/2.348, allocations: 0.4994 MB / 1.027 GB, free: 56.88 MB / 494.3 MB Notification: Performance of SimCode: time 9.82e-07/2.348, allocations: 7.938 kB / 1.027 GB, free: 56.87 MB / 494.3 MB Notification: Performance of Templates: time 0.3337/2.682, allocations: 89.5 MB / 1.115 GB, free: 125 MB / 494.3 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches