Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001286/0.001286, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001446/0.001446, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2809, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02869/0.3096, allocations: 24.5 MB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.3245, allocations: 7.028 MB / 462.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005202/0.3297, allocations: 314.4 kB / 462.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02912/0.3589, allocations: 12.21 MB / 475.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009958/0.3688, allocations: 2.621 MB / 477.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.3753, allocations: 2.046 MB / 479.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02414/0.3995, allocations: 18.53 MB / 498.3 MB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05688/0.4564, allocations: 28.41 MB / 0.5144 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01585/0.4722, allocations: 10.15 MB / 0.5243 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01785/0.4901, allocations: 11.14 MB / 0.5352 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3906/0.8806, allocations: 2.916 MB / 0.538 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008492/0.8891, allocations: 3.199 MB / 0.5412 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007489/0.8966, allocations: 5.488 MB / 0.5465 GB, free: 39.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01426/0.9109, allocations: 8.379 MB / 0.5547 GB, free: 38.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03155/0.9424, allocations: 39.27 MB / 0.5931 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.9424, allocations: 6.188 kB / 0.5931 GB, free: 19.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9424, allocations: 3.969 kB / 0.5931 GB, free: 19.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009733/0.9434, allocations: 0 / 0.5931 GB, free: 19.58 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.05947/1.003, allocations: 22.24 MB / 0.6148 GB, free: 2.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.003, allocations: 11.97 kB / 0.6148 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009407/1.012, allocations: 2.959 MB / 0.6177 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04541/1.058, allocations: 8.245 MB / 0.6257 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02803/1.086, allocations: 11.89 MB / 0.6373 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/1.087, allocations: 1.342 MB / 0.6386 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006485/1.094, allocations: 1.76 MB / 0.6404 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07115/1.165, allocations: 29.03 MB / 0.6687 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007468/1.166, allocations: 19.91 kB / 0.6687 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/1.171, allocations: 0.7252 MB / 0.6694 GB, free: 10.88 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009473/1.171, allocations: 0.8415 MB / 0.6703 GB, free: 10.04 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05432/1.226, allocations: 24.78 MB / 0.6945 GB, free: 1.242 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3701/1.596, allocations: 78.86 MB / 0.7715 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.613, allocations: 12.78 MB / 0.784 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00684/1.62, allocations: 5.034 MB / 0.7889 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/1.621, allocations: 141.1 kB / 0.789 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/1.621, allocations: 96.91 kB / 0.7891 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.528e-06/1.621, allocations: 3.938 kB / 0.7891 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02916/1.65, allocations: 14.69 MB / 0.8034 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.65, allocations: 141.7 kB / 0.8036 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00849/1.658, allocations: 6.696 MB / 0.8101 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008301/1.659, allocations: 117.4 kB / 0.8102 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003474/1.663, allocations: 7.905 MB / 0.818 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.665, allocations: 2.106 MB / 0.82 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/1.667, allocations: 2.121 MB / 0.8221 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/1.667, allocations: 305.1 kB / 0.8224 GB, free: 123 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005393/1.673, allocations: 4.749 MB / 0.827 GB, free: 120.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007628/1.68, allocations: 9.492 MB / 0.8363 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.695, allocations: 15.33 MB / 0.8513 GB, free: 91.78 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/1.695, allocations: 44 kB / 0.8513 GB, free: 91.74 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02239/1.717, allocations: 15.42 MB / 0.8664 GB, free: 76.23 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.717, allocations: 75.94 kB / 0.8664 GB, free: 76.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/1.717, allocations: 164 kB / 0.8666 GB, free: 76 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/1.723, allocations: 1.653 MB / 0.8682 GB, free: 74.34 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007844/1.73, allocations: 2.359 MB / 0.8705 GB, free: 71.98 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.743, allocations: 11.3 MB / 0.8815 GB, free: 60.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007374/1.75, allocations: 1.366 MB / 0.8829 GB, free: 59.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/1.752, allocations: 0.5351 MB / 0.8834 GB, free: 58.67 MB / 0.5607 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.01309/1.765, allocations: 7.149 MB / 0.8904 GB, free: 51.5 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/1.767, allocations: 0.6442 MB / 0.891 GB, free: 50.85 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/1.783, allocations: 10.08 MB / 0.9008 GB, free: 40.66 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01035/1.794, allocations: 7.769 MB / 0.9084 GB, free: 32.81 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.794, allocations: 16.75 kB / 0.9084 GB, free: 32.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/1.794, allocations: 27.89 kB / 0.9085 GB, free: 32.77 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04836/1.842, allocations: 24.48 MB / 0.9324 GB, free: 8.164 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.842, allocations: 8 kB / 0.9324 GB, free: 8.156 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003995/1.846, allocations: 1.022 MB / 0.9334 GB, free: 7.133 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/1.851, allocations: 1.462 MB / 0.9348 GB, free: 5.664 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009423/1.852, allocations: 132 kB / 0.9349 GB, free: 5.535 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/1.866, allocations: 10.84 MB / 0.9455 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.866, allocations: 15.94 kB / 0.9455 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/1.89, allocations: 14.14 MB / 0.9593 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/1.895, allocations: 1.443 MB / 0.9608 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.896, allocations: 112 kB / 0.9609 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.899, allocations: 315.7 kB / 0.9612 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/1.9, allocations: 432.1 kB / 0.9616 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004133/1.901, allocations: 183.8 kB / 0.9617 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009044/1.91, allocations: 4.301 MB / 0.9659 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.51e-07/1.91, allocations: 0 / 0.9659 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0148/1.925, allocations: 4.095 MB / 0.9699 GB, free: 1.234 MB / 0.5919 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.2879/2.212, allocations: 14.91 MB / 0.9845 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01448/2.227, allocations: 10.96 MB / 0.9952 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.227, allocations: 0 / 0.9952 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005638/2.233, allocations: 4.345 MB / 0.9995 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006747/2.239, allocations: 1.574 MB / 1.001 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1367/2.376, allocations: 94.75 MB / 1.094 GB, free: 97.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/2.39, allocations: 10.94 MB / 1.104 GB, free: 86.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008253/2.398, allocations: 3.766 MB / 1.108 GB, free: 82.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008635/2.407, allocations: 5.951 MB / 1.114 GB, free: 76.57 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/2.407, allocations: 4 kB / 1.114 GB, free: 76.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4676/2.875, allocations: 211.4 MB / 1.32 GB, free: 130.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/25.13, allocations: 10.81 kB / 1.32 GB, free: 130.1 MB / 0.6075 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 28.13811807401362]