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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 108 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 188 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 47.94 kB / 370.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 52.19 MB / 422.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03289/0.3134, allocations: 28.75 MB / 451.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3291, allocations: 7.159 MB / 458.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00547/0.3345, allocations: 318.4 kB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02988/0.3644, allocations: 13.23 MB / 472.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.3753, allocations: 2.804 MB / 474.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006573/0.3819, allocations: 1.909 MB / 476.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02418/0.4061, allocations: 18.37 MB / 495.2 MB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05865/0.4647, allocations: 28.4 MB / 0.5113 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/0.4816, allocations: 10.16 MB / 0.5212 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01902/0.5007, allocations: 11.14 MB / 0.5321 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007561/0.5082, allocations: 2.918 MB / 0.535 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4674/0.9756, allocations: 3.165 MB / 0.5381 GB, free: 41.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009368/0.985, allocations: 5.488 MB / 0.5434 GB, free: 41.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01827/1.003, allocations: 10.83 MB / 0.554 GB, free: 40.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0414/1.045, allocations: 39.08 MB / 0.5921 GB, free: 19.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.045, allocations: 4.781 kB / 0.5921 GB, free: 19.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/1.045, allocations: 0 / 0.5921 GB, free: 19.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001119/1.046, allocations: 0.8125 kB / 0.5922 GB, free: 19.67 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.06202/1.108, allocations: 22.23 MB / 0.6139 GB, free: 4.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.108, allocations: 12.03 kB / 0.6139 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01026/1.118, allocations: 2.961 MB / 0.6168 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04486/1.163, allocations: 8.411 MB / 0.625 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02763/1.191, allocations: 11.86 MB / 0.6366 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001644/1.192, allocations: 1.338 MB / 0.6379 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00709/1.199, allocations: 1.76 MB / 0.6396 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07991/1.279, allocations: 28.73 MB / 0.6676 GB, free: 13.66 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006061/1.28, allocations: 19.94 kB / 0.6677 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00605/1.286, allocations: 0.727 MB / 0.6684 GB, free: 12.92 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009526/1.287, allocations: 0.8415 MB / 0.6692 GB, free: 12.07 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05946/1.346, allocations: 24.79 MB / 0.6934 GB, free: 3.266 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4164/1.763, allocations: 85.96 MB / 0.7774 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.782, allocations: 12.84 MB / 0.7899 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00842/1.791, allocations: 5.025 MB / 0.7948 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/1.792, allocations: 128.6 kB / 0.7949 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/1.792, allocations: 94.33 kB / 0.795 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.458e-05/1.792, allocations: 0 / 0.795 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03469/1.826, allocations: 14.65 MB / 0.8093 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.827, allocations: 149.3 kB / 0.8095 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.839, allocations: 6.43 MB / 0.8157 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.84, allocations: 115.6 kB / 0.8158 GB, free: 133 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004115/1.844, allocations: 7.899 MB / 0.8236 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.846, allocations: 2.109 MB / 0.8256 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005801/1.852, allocations: 2.1 MB / 0.8277 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/1.852, allocations: 301.1 kB / 0.828 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007054/1.859, allocations: 4.735 MB / 0.8326 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.87, allocations: 9.466 MB / 0.8418 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01793/1.888, allocations: 15.31 MB / 0.8568 GB, free: 94.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.888, allocations: 44 kB / 0.8568 GB, free: 94.06 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02709/1.915, allocations: 15.37 MB / 0.8718 GB, free: 78.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/1.915, allocations: 76 kB / 0.8719 GB, free: 78.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003291/1.915, allocations: 160.6 kB / 0.8721 GB, free: 78.37 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/1.921, allocations: 1.66 MB / 0.8737 GB, free: 76.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008125/1.929, allocations: 2.351 MB / 0.876 GB, free: 74.35 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.943, allocations: 11.51 MB / 0.8872 GB, free: 62.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008/1.951, allocations: 1.381 MB / 0.8886 GB, free: 61.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/1.953, allocations: 0.5273 MB / 0.8891 GB, free: 60.82 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.01321/1.966, allocations: 7.141 MB / 0.8961 GB, free: 53.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.968, allocations: 0.6442 MB / 0.8967 GB, free: 53.01 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.984, allocations: 10.08 MB / 0.9065 GB, free: 42.82 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01016/1.994, allocations: 7.726 MB / 0.9141 GB, free: 35.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/1.994, allocations: 15.94 kB / 0.9141 GB, free: 35 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-05/1.994, allocations: 27.89 kB / 0.9141 GB, free: 34.97 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0528/2.047, allocations: 25.31 MB / 0.9388 GB, free: 9.535 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/2.047, allocations: 8 kB / 0.9388 GB, free: 9.527 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/2.051, allocations: 1.006 MB / 0.9398 GB, free: 8.52 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/2.056, allocations: 1.469 MB / 0.9412 GB, free: 7.047 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00081/2.056, allocations: 128 kB / 0.9414 GB, free: 6.922 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/2.071, allocations: 11.06 MB / 0.9522 GB, free: 11.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/2.071, allocations: 19.88 kB / 0.9522 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2643/2.335, allocations: 14.09 MB / 0.9659 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004998/2.34, allocations: 1.438 MB / 0.9674 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002137/2.342, allocations: 109.7 kB / 0.9675 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004171/2.346, allocations: 321.4 kB / 0.9678 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/2.348, allocations: 426.5 kB / 0.9682 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008473/2.349, allocations: 167.7 kB / 0.9683 GB, free: 177 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00812/2.357, allocations: 4.305 MB / 0.9725 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.4e-07/2.357, allocations: 0 / 0.9725 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01408/2.371, allocations: 4.097 MB / 0.9765 GB, free: 175.8 MB / 0.5763 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.02324/2.394, allocations: 14.89 MB / 0.9911 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01772/2.412, allocations: 10.92 MB / 1.002 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/2.412, allocations: 0 / 1.002 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/2.419, allocations: 4.329 MB / 1.006 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009934/2.429, allocations: 1.559 MB / 1.007 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1584/2.588, allocations: 94.86 MB / 1.1 GB, free: 74.69 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0209/2.609, allocations: 11.26 MB / 1.111 GB, free: 63.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01012/2.619, allocations: 3.766 MB / 1.115 GB, free: 59.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01023/2.629, allocations: 5.923 MB / 1.121 GB, free: 53.68 MB / 0.5763 GB Notification: Performance of SimCode: time 1.443e-06/2.629, allocations: 0 / 1.121 GB, free: 53.68 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5611/3.19, allocations: 212.2 MB / 1.328 GB, free: 99.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.57/30.76, allocations: 11.88 kB / 1.328 GB, free: 99.04 MB / 0.5919 GB " [Timeout remaining time 629] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 33.89390281098895]