Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 55.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03426/0.3105, allocations: 28.76 MB / 460.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.3283, allocations: 7.223 MB / 468 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006994/0.3353, allocations: 314.4 kB / 468.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03055/0.3659, allocations: 13.25 MB / 481.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.3774, allocations: 2.648 MB / 484.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.3846, allocations: 2.101 MB / 486.3 MB, free: 216 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02645/0.4111, allocations: 18.54 MB / 0.493 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06029/0.4714, allocations: 28.4 MB / 0.5207 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.489, allocations: 10.14 MB / 0.5306 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4902/0.9792, allocations: 11.14 MB / 0.5415 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01026/0.9895, allocations: 2.919 MB / 0.5444 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/1.001, allocations: 3.196 MB / 0.5475 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01003/1.011, allocations: 5.49 MB / 0.5528 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02121/1.032, allocations: 10.82 MB / 0.5634 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04385/1.076, allocations: 39.11 MB / 0.6016 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.076, allocations: 0 / 0.6016 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.076, allocations: 0 / 0.6016 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001363/1.077, allocations: 0 / 0.6016 GB, free: 5.238 MB / 446.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.07433/1.152, allocations: 22.24 MB / 0.6233 GB, free: 1.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.152, allocations: 8.031 kB / 0.6233 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006231/1.152, allocations: 0.5377 MB / 0.6238 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01226/1.165, allocations: 2.964 MB / 0.6267 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04899/1.214, allocations: 8.244 MB / 0.6348 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03367/1.247, allocations: 11.89 MB / 0.6464 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0017/1.249, allocations: 1.34 MB / 0.6477 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007619/1.257, allocations: 1.762 MB / 0.6494 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08085/1.337, allocations: 28.79 MB / 0.6775 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008572/1.338, allocations: 27.64 kB / 0.6776 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006312/1.345, allocations: 0.7264 MB / 0.6783 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/1.346, allocations: 0.8454 MB / 0.6791 GB, free: 9.188 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06248/1.408, allocations: 24.85 MB / 0.7034 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4254/1.834, allocations: 86.02 MB / 0.7874 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/1.852, allocations: 12.87 MB / 0.7999 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007514/1.86, allocations: 5.063 MB / 0.8049 GB, free: 150.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/1.86, allocations: 172.3 kB / 0.8051 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/1.86, allocations: 104.5 kB / 0.8052 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=585): time 7.054e-06/1.86, allocations: 0 / 0.8052 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=681): time 0.0711/1.931, allocations: 34.13 MB / 0.8385 GB, free: 133.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/1.931, allocations: 147 kB / 0.8386 GB, free: 133 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009666/1.941, allocations: 6.43 MB / 0.8449 GB, free: 127.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001295/1.942, allocations: 133.7 kB / 0.845 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004174/1.947, allocations: 7.896 MB / 0.8527 GB, free: 119 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002695/1.949, allocations: 2.465 MB / 0.8551 GB, free: 116.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003492/1.953, allocations: 2.251 MB / 0.8573 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.953, allocations: 301.1 kB / 0.8576 GB, free: 114 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007264/1.96, allocations: 5.288 MB / 0.8628 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00975/1.97, allocations: 10.08 MB / 0.8726 GB, free: 96.49 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/1.987, allocations: 16.62 MB / 0.8889 GB, free: 77.62 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/1.987, allocations: 48 kB / 0.8889 GB, free: 77.57 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02931/2.016, allocations: 17.52 MB / 0.906 GB, free: 59.98 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/2.016, allocations: 72 kB / 0.9061 GB, free: 59.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002269/2.016, allocations: 160 kB / 0.9062 GB, free: 59.76 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00933/2.026, allocations: 3.126 MB / 0.9093 GB, free: 56.62 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008565/2.034, allocations: 2.398 MB / 0.9116 GB, free: 54.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02503/2.059, allocations: 23.23 MB / 0.9343 GB, free: 30.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008198/2.067, allocations: 0.6554 MB / 0.935 GB, free: 30.12 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/2.07, allocations: 0.5702 MB / 0.9355 GB, free: 29.55 MB / 0.5763 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 (1262): * Single equations (assignments): 1258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,80.6%), (6,80,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0147/2.084, allocations: 7.266 MB / 0.9426 GB, free: 22.27 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/2.086, allocations: 0.6831 MB / 0.9433 GB, free: 21.58 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/2.103, allocations: 12.42 MB / 0.9554 GB, free: 9.074 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01503/2.118, allocations: 9.857 MB / 0.965 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.183e-05/2.119, allocations: 32 kB / 0.9651 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001413/2.119, allocations: 31.88 kB / 0.9651 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.33/2.449, allocations: 30.19 MB / 0.9946 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/2.449, allocations: 7.812 kB / 0.9946 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00445/2.453, allocations: 1.071 MB / 0.9956 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009009/2.462, allocations: 2.868 MB / 0.9984 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.463, allocations: 150.9 kB / 0.9986 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/2.49, allocations: 21.53 MB / 1.02 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/2.49, allocations: 15.72 kB / 1.02 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/2.516, allocations: 17.26 MB / 1.036 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005459/2.522, allocations: 1.527 MB / 1.038 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/2.524, allocations: 127.1 kB / 1.038 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005021/2.53, allocations: 342.8 kB / 1.038 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/2.531, allocations: 0.5204 MB / 1.039 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001097/2.532, allocations: 202.2 kB / 1.039 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00799/2.54, allocations: 4.305 MB / 1.043 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/2.54, allocations: 0 / 1.043 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0129/2.553, allocations: 2.944 MB / 1.046 GB, free: 158.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (553): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,75.0%), (6,74,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02791/2.581, allocations: 18.08 MB / 1.064 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02004/2.601, allocations: 12.99 MB / 1.077 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/2.601, allocations: 7.938 kB / 1.077 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009153/2.61, allocations: 5.732 MB / 1.082 GB, free: 123.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.621, allocations: 1.598 MB / 1.084 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1506/2.771, allocations: 101.9 MB / 1.183 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02141/2.793, allocations: 11.52 MB / 1.194 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01019/2.803, allocations: 3.809 MB / 1.198 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0125/2.815, allocations: 6.002 MB / 1.204 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/2.815, allocations: 0 / 1.204 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.549/3.364, allocations: 231.8 MB / 1.43 GB, free: 29.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.99/54.36, allocations: 12 kB / 1.43 GB, free: 29.05 MB / 0.6075 GB " [Timeout remaining time 605] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 57.6290952420095]