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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008291, allocations: 95.69 kB / 17.3 MB, free: 6.391 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.0008299/0.00083, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.232/1.232, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004314/0.0004314, allocations: 19.12 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07635/0.07679, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02817/0.105, allocations: 27.64 MB / 356.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.1243, allocations: 7.309 MB / 364 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005861/0.1302, allocations: 207.3 kB / 364.2 MB, free: 360 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007556/0.1378, allocations: 2.026 MB / 366.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.1501, allocations: 2.738 MB / 369 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005669/0.1558, allocations: 1.743 MB / 370.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1847/0.3405, allocations: 18.46 MB / 389.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07956/0.4201, allocations: 43.74 MB / 432.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.4344, allocations: 7.177 MB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.447, allocations: 8.596 MB / 448.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003921/0.4509, allocations: 1.172 MB / 449.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/0.4575, allocations: 1.416 MB / 451.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006482/0.4641, allocations: 3.527 MB / 454.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0158/0.4799, allocations: 8.746 MB / 463.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03759/0.5175, allocations: 37.29 MB / 0.4891 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5175, allocations: 0 / 0.4891 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5176, allocations: 4 kB / 0.4891 GB, free: 3.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001028/0.5186, allocations: 0 / 0.4891 GB, free: 3.609 MB / 398.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.05162/0.5702, allocations: 18.81 MB / 0.5075 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5703, allocations: 8.031 kB / 0.5075 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009828/0.5801, allocations: 3.106 MB / 0.5105 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06559/0.6457, allocations: 12.34 MB / 0.5226 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/0.6688, allocations: 10.57 MB / 0.5329 GB, free: 7.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001796/0.6706, allocations: 1.398 MB / 0.5343 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007938/0.6786, allocations: 1.828 MB / 0.5361 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3989/1.077, allocations: 30.89 MB / 0.5662 GB, free: 113.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006757/1.078, allocations: 20.27 kB / 0.5662 GB, free: 113.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005841/1.084, allocations: 0.7631 MB / 0.567 GB, free: 113.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008081/1.085, allocations: 0.9859 MB / 0.568 GB, free: 113.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05198/1.137, allocations: 27.91 MB / 0.5952 GB, free: 95.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.144/1.281, allocations: 94.64 MB / 0.6876 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3783/1.659, allocations: 53.37 MB / 0.7398 GB, free: 110.7 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009564/1.669, allocations: 5.9 MB / 0.7455 GB, free: 110.6 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02752/1.696, allocations: 16.88 MB / 0.762 GB, free: 103 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/1.697, allocations: 81.7 kB / 0.7621 GB, free: 102.9 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 5.5e-06/1.697, allocations: 0 / 0.7621 GB, free: 102.9 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.02992/1.726, allocations: 13.47 MB / 0.7752 GB, free: 98.94 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/1.727, allocations: 121 kB / 0.7754 GB, free: 98.84 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.739, allocations: 7.492 MB / 0.7827 GB, free: 96.17 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0008627/1.74, allocations: 100.2 kB / 0.7828 GB, free: 96.08 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004407/1.744, allocations: 8.516 MB / 0.7911 GB, free: 89.69 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.746, allocations: 1.6 MB / 0.7926 GB, free: 88.5 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/1.747, allocations: 0.8588 MB / 0.7935 GB, free: 88.12 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/1.747, allocations: 301.1 kB / 0.7938 GB, free: 87.82 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006554/1.754, allocations: 4.783 MB / 0.7984 GB, free: 86.11 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008365/1.762, allocations: 10.48 MB / 0.8087 GB, free: 76.67 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/1.777, allocations: 16.15 MB / 0.8244 GB, free: 64.07 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/1.777, allocations: 56 kB / 0.8245 GB, free: 64.02 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.0227/1.8, allocations: 16.16 MB / 0.8403 GB, free: 48.43 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.8, allocations: 88 kB / 0.8404 GB, free: 48.35 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/1.8, allocations: 207.7 kB / 0.8406 GB, free: 48.15 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/1.806, allocations: 1.714 MB / 0.8422 GB, free: 46.44 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/1.813, allocations: 2.496 MB / 0.8447 GB, free: 43.94 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.827, allocations: 10.8 MB / 0.8552 GB, free: 33 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008994/1.836, allocations: 1.548 MB / 0.8567 GB, free: 31.44 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.838, allocations: 0.6054 MB / 0.8573 GB, free: 30.84 MB / 478.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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01192/1.849, allocations: 7.394 MB / 0.8645 GB, free: 23.42 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.851, allocations: 0.6287 MB / 0.8652 GB, free: 22.79 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.864, allocations: 8.269 MB / 0.8732 GB, free: 14.49 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008048/1.872, allocations: 6.638 MB / 0.8797 GB, free: 7.836 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.872, allocations: 12 kB / 0.8797 GB, free: 7.824 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/1.872, allocations: 23.91 kB / 0.8797 GB, free: 7.801 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/1.903, allocations: 21.02 MB / 0.9003 GB, free: 2.773 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.903, allocations: 0 / 0.9003 GB, free: 2.773 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/1.906, allocations: 0.7761 MB / 0.901 GB, free: 1.996 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005228/1.912, allocations: 1.449 MB / 0.9024 GB, free: 0.5469 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003986/1.912, allocations: 99.34 kB / 0.9025 GB, free: 464 kB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2174/2.129, allocations: 10.43 MB / 0.9127 GB, free: 139.6 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.129, allocations: 2.25 kB / 0.9127 GB, free: 139.6 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/2.147, allocations: 11.99 MB / 0.9244 GB, free: 134.9 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/2.149, allocations: 1.375 MB / 0.9258 GB, free: 134.1 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/2.15, allocations: 71.69 kB / 0.9258 GB, free: 134.1 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/2.153, allocations: 307.2 kB / 0.9261 GB, free: 134 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/2.153, allocations: 298.6 kB / 0.9264 GB, free: 134 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/2.153, allocations: 130.7 kB / 0.9266 GB, free: 134 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.0065/2.16, allocations: 4.919 MB / 0.9314 GB, free: 132.2 MB / 494.3 MB Notification: Performance of sort global known variables: time 1.6e-07/2.16, allocations: 3.719 kB / 0.9314 GB, free: 132.2 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01018/2.17, allocations: 4.189 MB / 0.9354 GB, free: 130.9 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01428/2.184, allocations: 12.73 MB / 0.9479 GB, free: 125.2 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01548/2.2, allocations: 11.14 MB / 0.9588 GB, free: 121.1 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.2, allocations: 0 / 0.9588 GB, free: 121.1 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.005679/2.206, allocations: 4.028 MB / 0.9627 GB, free: 119.4 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009061/2.215, allocations: 1.461 MB / 0.9641 GB, free: 118.9 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1977/2.412, allocations: 128.1 MB / 1.089 GB, free: 2.688 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2123/2.625, allocations: 11.61 MB / 1.101 GB, free: 162.5 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01282/2.638, allocations: 3.98 MB / 1.104 GB, free: 162.1 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01238/2.65, allocations: 6.084 MB / 1.11 GB, free: 158.9 MB / 0.4983 GB Notification: Performance of SimCode: time 1.993e-06/2.65, allocations: 0 / 1.11 GB, free: 158.9 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4513/3.101, allocations: 202.4 MB / 1.308 GB, free: 119.1 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/3.102, allocations: 288.7 kB / 1.308 GB, free: 118.7 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.606/8.707, allocations: 0 / 1.308 GB, free: 118.7 MB / 0.4983 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches