Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.001766/0.001766, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002194/0.002194, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.437/1.437, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 64.03 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1143, allocations: 53.34 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2344/0.3487, allocations: 7.838 MB / 434.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.3541, allocations: 2.734 MB / 437.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.3557, allocations: 68.78 kB / 437.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.3572, allocations: 0.5916 MB / 437.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.3598, allocations: 0.7701 MB / 438.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.361, allocations: 425.6 kB / 439.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.3651, allocations: 3.308 MB / 442.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.3684, allocations: 2.659 MB / 445.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.3718, allocations: 1.674 MB / 446.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.3756, allocations: 2.087 MB / 448.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009739/0.3766, allocations: 461.9 kB / 449.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.3784, allocations: 0.6727 MB / 449.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.3797, allocations: 1.263 MB / 451.2 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.3831, allocations: 1.976 MB / 453.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009022/0.3921, allocations: 6.145 MB / 459.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3921, allocations: 0 / 459.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3921, allocations: 3.938 kB / 459.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002116/0.3923, allocations: 4 kB / 459.3 MB, free: 11.33 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.01071/0.4031, allocations: 3.901 MB / 463.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4031, allocations: 9.5 kB / 463.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008922/0.404, allocations: 429.8 kB / 463.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.4057, allocations: 453.7 kB / 464.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.4106, allocations: 2.192 MB / 466.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.4108, allocations: 224.7 kB / 466.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/0.4113, allocations: 285.4 kB / 466.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008036/0.4194, allocations: 4.225 MB / 471 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.4194, allocations: 0 / 471 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.4197, allocations: 121.5 kB / 471.1 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.4199, allocations: 155.1 kB / 471.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006504/0.4264, allocations: 3.509 MB / 474.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/0.4484, allocations: 11.14 MB / 485.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.4515, allocations: 2.56 MB / 488.5 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.4539, allocations: 1.411 MB / 489.9 MB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.4542, allocations: 126.1 kB / 490 MB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.4542, allocations: 52.64 kB / 490.1 MB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.4542, allocations: 0 / 490.1 MB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01001/0.4642, allocations: 5.208 MB / 495.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.4643, allocations: 90.42 kB / 495.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.4673, allocations: 1.918 MB / 497.3 MB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4674, allocations: 45.7 kB / 497.4 MB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.4686, allocations: 1.373 MB / 498.7 MB, free: 8.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.469, allocations: 479.9 kB / 499.2 MB, free: 7.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.4695, allocations: 267.5 kB / 499.5 MB, free: 7.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4696, allocations: 317 kB / 499.8 MB, free: 7.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4709, allocations: 0.812 MB / 0.4888 GB, free: 6.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4725, allocations: 1.19 MB / 0.49 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.4754, allocations: 2.078 MB / 0.492 GB, free: 2.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.4754, allocations: 4 kB / 0.492 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00452/0.48, allocations: 2.532 MB / 0.4945 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.48, allocations: 8 kB / 0.4945 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.48, allocations: 12 kB / 0.4945 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.4819, allocations: 479 kB / 0.495 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4833, allocations: 331.5 kB / 0.4953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.489, allocations: 4.39 MB / 0.4996 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4906, allocations: 79.89 kB / 0.4997 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4908, allocations: 67.92 kB / 0.4997 GB, free: 10.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001968/0.4927, allocations: 1.052 MB / 0.5008 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.4933, allocations: 202.7 kB / 0.501 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.4971, allocations: 2.153 MB / 0.5031 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.4971, allocations: 16 kB / 0.5031 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4972, allocations: 4 kB / 0.5031 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4972, allocations: 3.984 kB / 0.5031 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009758/0.5069, allocations: 5.164 MB / 0.5081 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5069, allocations: 4 kB / 0.5081 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/0.5079, allocations: 231.6 kB / 0.5083 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.5097, allocations: 452.5 kB / 0.5088 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5098, allocations: 43.97 kB / 0.5088 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/0.5155, allocations: 4.303 MB / 0.513 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5155, allocations: 7.969 kB / 0.513 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.521, allocations: 3.249 MB / 0.5162 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.5224, allocations: 469.6 kB / 0.5166 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.5227, allocations: 28 kB / 0.5167 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.5237, allocations: 95.95 kB / 0.5168 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.5239, allocations: 100.8 kB / 0.5169 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/0.524, allocations: 40 kB / 0.5169 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.5262, allocations: 1.346 MB / 0.5182 GB, free: 7.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5262, allocations: 0 / 0.5182 GB, free: 7.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002039/0.5282, allocations: 0.5546 MB / 0.5188 GB, free: 7.074 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005861/0.5341, allocations: 3.932 MB / 0.5226 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.5378, allocations: 2.114 MB / 0.5247 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5378, allocations: 7.938 kB / 0.5247 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.5398, allocations: 1.164 MB / 0.5258 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5425, allocations: 0.5107 MB / 0.5263 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/0.5776, allocations: 20.61 MB / 0.5464 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/0.5811, allocations: 2.432 MB / 0.5488 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001695/0.5828, allocations: 499.3 kB / 0.5493 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.5846, allocations: 1.073 MB / 0.5503 GB, free: 6.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5846, allocations: 0 / 0.5503 GB, free: 6.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.692, allocations: 52.4 MB / 0.6015 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.15, allocations: 0 / 0.6015 GB, free: 2.094 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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: 16.772603859193623]