Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001538/0.001538, allocations: 108.1 kB / 16.92 MB, free: 5.668 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.001711/0.001711, allocations: 190.1 kB / 17.85 MB, free: 5.176 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.313/1.313, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 48.33 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08177, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1964/0.2782, allocations: 28.6 MB / 378.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.2907, allocations: 7.118 MB / 385.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005136/0.2959, allocations: 262.6 kB / 386.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02474/0.3207, allocations: 13.12 MB / 399.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.3318, allocations: 2.675 MB / 401.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.3378, allocations: 1.846 MB / 403.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02183/0.3596, allocations: 17.96 MB / 421.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07525/0.4349, allocations: 44.64 MB / 466.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01505/0.45, allocations: 9.907 MB / 476.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01614/0.4661, allocations: 11.07 MB / 487.3 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007555/0.4737, allocations: 2.922 MB / 490.3 MB, free: 9.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.4852, allocations: 3.164 MB / 493.4 MB, free: 6.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009383/0.4946, allocations: 5.491 MB / 498.9 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01718/0.5118, allocations: 10.81 MB / 0.4978 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4001/0.9119, allocations: 38.76 MB / 0.5356 GB, free: 78.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.9119, allocations: 3.656 kB / 0.5356 GB, free: 78.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.9119, allocations: 2.5 kB / 0.5356 GB, free: 78.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000997/0.9129, allocations: 0 / 0.5356 GB, free: 78.84 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: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06851/0.9815, allocations: 21.93 MB / 0.5571 GB, free: 67.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.9815, allocations: 7.812 kB / 0.5571 GB, free: 67.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01267/0.9942, allocations: 2.962 MB / 0.56 GB, free: 66.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04707/1.041, allocations: 8.325 MB / 0.5681 GB, free: 61.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02449/1.066, allocations: 11.27 MB / 0.5791 GB, free: 51.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/1.067, allocations: 1.345 MB / 0.5804 GB, free: 49.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00854/1.075, allocations: 1.761 MB / 0.5821 GB, free: 48.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07562/1.151, allocations: 28.72 MB / 0.6102 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008562/1.152, allocations: 23.8 kB / 0.6102 GB, free: 19.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008474/1.16, allocations: 0.7264 MB / 0.6109 GB, free: 18.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006927/1.161, allocations: 0.8447 MB / 0.6117 GB, free: 17.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05101/1.212, allocations: 24.79 MB / 0.636 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3642/1.576, allocations: 87.99 MB / 0.7219 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/1.599, allocations: 35.13 MB / 0.7562 GB, free: 109.1 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006789/1.606, allocations: 5.295 MB / 0.7614 GB, free: 109 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/1.606, allocations: 211.1 kB / 0.7616 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/1.606, allocations: 93.27 kB / 0.7616 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 8.075e-06/1.606, allocations: 0 / 0.7616 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.02892/1.635, allocations: 14.74 MB / 0.776 GB, free: 108.1 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.635, allocations: 136.8 kB / 0.7762 GB, free: 108 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/1.643, allocations: 6.415 MB / 0.7824 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005503/1.643, allocations: 112.4 kB / 0.7825 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.646, allocations: 7.62 MB / 0.79 GB, free: 103.2 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.647, allocations: 2.014 MB / 0.7919 GB, free: 102 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002387/1.65, allocations: 2.08 MB / 0.794 GB, free: 101.4 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/1.65, allocations: 305.1 kB / 0.7943 GB, free: 101.1 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.655, allocations: 4.739 MB / 0.7989 GB, free: 99.33 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007332/1.663, allocations: 9.466 MB / 0.8081 GB, free: 90.67 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/1.677, allocations: 15.31 MB / 0.8231 GB, free: 75.43 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.677, allocations: 48 kB / 0.8231 GB, free: 75.39 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02312/1.7, allocations: 15.38 MB / 0.8381 GB, free: 59.93 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/1.7, allocations: 76 kB / 0.8382 GB, free: 59.85 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/1.701, allocations: 160 kB / 0.8384 GB, free: 59.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/1.706, allocations: 1.66 MB / 0.84 GB, free: 58.03 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00733/1.713, allocations: 2.355 MB / 0.8423 GB, free: 55.67 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/1.725, allocations: 11.61 MB / 0.8536 GB, free: 43.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007259/1.733, allocations: 1.348 MB / 0.8549 GB, free: 42.57 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.734, allocations: 0.5273 MB / 0.8555 GB, free: 42.04 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * 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.009789/1.744, allocations: 7.149 MB / 0.8624 GB, free: 34.87 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.745, allocations: 0.6074 MB / 0.863 GB, free: 34.26 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.758, allocations: 10.11 MB / 0.8729 GB, free: 24.04 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009327/1.768, allocations: 7.773 MB / 0.8805 GB, free: 16.18 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/1.768, allocations: 12 kB / 0.8805 GB, free: 16.16 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/1.768, allocations: 27.89 kB / 0.8805 GB, free: 16.14 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2739/2.042, allocations: 25.99 MB / 0.9059 GB, free: 156.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/2.042, allocations: 10.97 kB / 0.9059 GB, free: 156.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003706/2.046, allocations: 1.006 MB / 0.9069 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/2.05, allocations: 1.472 MB / 0.9084 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000494/2.051, allocations: 128.1 kB / 0.9085 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/2.063, allocations: 11.15 MB / 0.9194 GB, free: 151.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.063, allocations: 11.66 kB / 0.9194 GB, free: 151.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/2.08, allocations: 14.1 MB / 0.9331 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/2.083, allocations: 1.44 MB / 0.9345 GB, free: 144.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.084, allocations: 110.8 kB / 0.9347 GB, free: 144.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/2.087, allocations: 318.1 kB / 0.935 GB, free: 144.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007594/2.088, allocations: 395.1 kB / 0.9353 GB, free: 144.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/2.089, allocations: 174.4 kB / 0.9355 GB, free: 144.6 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005457/2.094, allocations: 4.308 MB / 0.9397 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2e-07/2.094, allocations: 2.188 kB / 0.9397 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01039/2.104, allocations: 4.037 MB / 0.9437 GB, free: 141.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (528): * Single equations (assignments): 525 * 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.01649/2.121, allocations: 14.89 MB / 0.9582 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.05101/2.172, allocations: 26.54 MB / 0.9841 GB, free: 103 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/2.172, allocations: 7.938 kB / 0.9841 GB, free: 103 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006325/2.178, allocations: 4.644 MB / 0.9886 GB, free: 98.98 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008532/2.187, allocations: 1.565 MB / 0.9902 GB, free: 97.71 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/2.524, allocations: 113.4 MB / 1.101 GB, free: 181.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01854/2.543, allocations: 11.26 MB / 1.112 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01062/2.554, allocations: 3.77 MB / 1.116 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00908/2.563, allocations: 5.921 MB / 1.121 GB, free: 175.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.322e-06/2.563, allocations: 3.828 kB / 1.121 GB, free: 175.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/2.967, allocations: 208.3 MB / 1.325 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/16.26, allocations: 12.73 kB / 1.325 GB, free: 162.6 MB / 0.5138 GB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches