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.00134/0.00134, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001362/0.001362, allocations: 193 kB / 21.43 MB, free: 1.633 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.457/1.457, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 47.94 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2527/0.3603, allocations: 28.72 MB / 447.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3739, allocations: 7.141 MB / 454.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00701/0.3809, allocations: 315.2 kB / 454.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02628/0.4072, allocations: 13.21 MB / 467.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.4198, allocations: 2.723 MB / 470.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.4261, allocations: 1.844 MB / 472.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02348/0.4496, allocations: 18.11 MB / 490.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06804/0.5177, allocations: 34.26 MB / 0.5125 GB, free: 10 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01872/0.5364, allocations: 10.13 MB / 0.5224 GB, free: 24 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/0.5561, allocations: 11.11 MB / 0.5333 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008932/0.565, allocations: 2.918 MB / 0.5361 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.5774, allocations: 3.171 MB / 0.5392 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009759/0.5871, allocations: 5.493 MB / 0.5446 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02036/0.6075, allocations: 10.82 MB / 0.5551 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04938/0.6569, allocations: 39.08 MB / 0.5933 GB, free: 8.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6569, allocations: 0 / 0.5933 GB, free: 8.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6569, allocations: 0 / 0.5933 GB, free: 8.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001089/0.658, allocations: 3.938 kB / 0.5933 GB, free: 8.32 MB / 494.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.06463/0.7226, allocations: 22.31 MB / 0.6151 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7227, allocations: 12.03 kB / 0.6151 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005846/0.7232, allocations: 0.5298 MB / 0.6156 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01116/0.7344, allocations: 2.963 MB / 0.6185 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04656/0.781, allocations: 8.418 MB / 0.6267 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3883/1.169, allocations: 11.67 MB / 0.6381 GB, free: 132 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001475/1.171, allocations: 1.341 MB / 0.6394 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006609/1.177, allocations: 1.755 MB / 0.6411 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06713/1.244, allocations: 28.73 MB / 0.6692 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006536/1.245, allocations: 23.86 kB / 0.6692 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005741/1.251, allocations: 0.7312 MB / 0.6699 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00074/1.252, allocations: 0.8523 MB / 0.6708 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04762/1.299, allocations: 24.8 MB / 0.695 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/1.415, allocations: 87.14 MB / 0.7801 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02689/1.442, allocations: 34.56 MB / 0.8138 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009669/1.451, allocations: 5.057 MB / 0.8188 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/1.452, allocations: 204.8 kB / 0.819 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/1.452, allocations: 99.08 kB / 0.8191 GB, free: 4.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=585): time 7.164e-06/1.452, allocations: 0 / 0.8191 GB, free: 4.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=681): time 0.07874/1.531, allocations: 34.21 MB / 0.8525 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.531, allocations: 146.4 kB / 0.8526 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4077/1.939, allocations: 6.42 MB / 0.8589 GB, free: 180.2 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0009744/1.94, allocations: 135.6 kB / 0.859 GB, free: 180.2 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.005112/1.945, allocations: 7.903 MB / 0.8667 GB, free: 177.6 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002505/1.947, allocations: 2.467 MB / 0.8691 GB, free: 175.7 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00368/1.951, allocations: 2.224 MB / 0.8713 GB, free: 174.6 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/1.951, allocations: 301.8 kB / 0.8716 GB, free: 174.4 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008962/1.96, allocations: 5.287 MB / 0.8768 GB, free: 172.4 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/1.972, allocations: 10.07 MB / 0.8866 GB, free: 164.3 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/1.989, allocations: 16.59 MB / 0.9028 GB, free: 152.6 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002365/1.989, allocations: 43.56 kB / 0.9029 GB, free: 152.6 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02681/2.016, allocations: 17.48 MB / 0.9199 GB, free: 145.6 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/2.016, allocations: 78.22 kB / 0.92 GB, free: 145.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002646/2.016, allocations: 158.6 kB / 0.9201 GB, free: 145.6 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009348/2.026, allocations: 3.119 MB / 0.9232 GB, free: 144.9 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009807/2.035, allocations: 2.395 MB / 0.9255 GB, free: 144.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/2.061, allocations: 23.44 MB / 0.9484 GB, free: 128.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/2.068, allocations: 0.6635 MB / 0.9491 GB, free: 128.4 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/2.069, allocations: 0.5639 MB / 0.9496 GB, free: 127.8 MB / 0.5764 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.009122/2.078, allocations: 7.269 MB / 0.9567 GB, free: 121.2 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/2.08, allocations: 0.6752 MB / 0.9574 GB, free: 120.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/2.095, allocations: 12.41 MB / 0.9695 GB, free: 108 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01232/2.107, allocations: 9.818 MB / 0.9791 GB, free: 98.13 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.539e-05/2.108, allocations: 27.94 kB / 0.9791 GB, free: 98.1 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-05/2.108, allocations: 38.8 kB / 0.9791 GB, free: 98.07 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04271/2.15, allocations: 30.23 MB / 1.009 GB, free: 67.52 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/2.15, allocations: 12.03 kB / 1.009 GB, free: 67.5 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00376/2.154, allocations: 1.057 MB / 1.01 GB, free: 66.45 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008427/2.163, allocations: 2.876 MB / 1.013 GB, free: 63.56 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007105/2.163, allocations: 152 kB / 1.013 GB, free: 63.41 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/2.185, allocations: 21.71 MB / 1.034 GB, free: 41.42 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/2.185, allocations: 19.92 kB / 1.034 GB, free: 41.4 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/2.205, allocations: 17.22 MB / 1.051 GB, free: 23.83 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/2.208, allocations: 1.539 MB / 1.052 GB, free: 22.27 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008437/2.209, allocations: 131.9 kB / 1.052 GB, free: 22.14 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/2.211, allocations: 351.7 kB / 1.053 GB, free: 21.79 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009447/2.212, allocations: 493.6 kB / 1.053 GB, free: 21.31 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/2.213, allocations: 196.7 kB / 1.053 GB, free: 21.12 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.005215/2.218, allocations: 4.305 MB / 1.058 GB, free: 16.84 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.7e-07/2.218, allocations: 0 / 1.058 GB, free: 16.84 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01073/2.229, allocations: 2.941 MB / 1.06 GB, free: 13.9 MB / 0.5764 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.2514/2.48, allocations: 18.02 MB / 1.078 GB, free: 159 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02167/2.502, allocations: 12.97 MB / 1.091 GB, free: 156.4 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/2.502, allocations: 2.812 kB / 1.091 GB, free: 156.4 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.008962/2.511, allocations: 5.722 MB / 1.096 GB, free: 154.1 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008068/2.519, allocations: 1.605 MB / 1.098 GB, free: 153.5 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1496/2.668, allocations: 101.7 MB / 1.197 GB, free: 80 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01599/2.684, allocations: 11.52 MB / 1.208 GB, free: 68.43 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.007806/2.692, allocations: 3.813 MB / 1.212 GB, free: 64.61 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008453/2.701, allocations: 5.971 MB / 1.218 GB, free: 58.64 MB / 0.5764 GB Notification: Performance of SimCode: time 1.643e-06/2.701, allocations: 0 / 1.218 GB, free: 58.64 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5045/3.205, allocations: 226.8 MB / 1.439 GB, free: 68.57 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.41/49.62, allocations: 21.48 kB / 1.439 GB, free: 68.55 MB / 0.592 GB " [Timeout remaining time 610] (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: 52.869266130030155]