Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001781/0.001781, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.002062/0.002062, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 231.8 MB, free: 4.18 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 55.91 kB / 342.3 MB, free: 10.1 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09604, allocations: 49.1 MB / 391.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005836/0.1019, allocations: 4.041 MB / 395.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1037, allocations: 0.9314 MB / 396.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.1041, allocations: 8 kB / 396.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.1044, allocations: 95.06 kB / 396.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.105, allocations: 186.4 kB / 396.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1054, allocations: 139.8 kB / 396.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.1063, allocations: 0.673 MB / 397.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.1066, allocations: 163.2 kB / 397.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.1069, allocations: 255 kB / 397.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.1074, allocations: 290.6 kB / 398.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1075, allocations: 56 kB / 398.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1076, allocations: 56 kB / 398.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1077, allocations: 139.4 kB / 398.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.1081, allocations: 302.5 kB / 398.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.1088, allocations: 0.6379 MB / 399.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1088, allocations: 0 / 399.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1088, allocations: 0 / 399.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.1088, allocations: 4 kB / 399.3 MB, free: 0.8438 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001497/0.1103, allocations: 0.8762 MB / 400.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1103, allocations: 8.031 kB / 400.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.1105, allocations: 119.8 kB / 400.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.1106, allocations: 64.56 kB / 400.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.1111, allocations: 383.7 kB / 400.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.1111, allocations: 37.69 kB / 400.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.1112, allocations: 56.38 kB / 400.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.1121, allocations: 0.4957 MB / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1121, allocations: 0 / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.1121, allocations: 20 kB / 401.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1121, allocations: 12 kB / 401.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.1128, allocations: 344.6 kB / 401.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.1154, allocations: 1.714 MB / 403.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1158, allocations: 249.1 kB / 403.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1161, allocations: 133.7 kB / 403.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1161, allocations: 8 kB / 403.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.1161, allocations: 42.5 kB / 403.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1161, allocations: 0 / 403.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001897/0.118, allocations: 0.9758 MB / 404.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1181, allocations: 81.11 kB / 404.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.1185, allocations: 381.6 kB / 405.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.1185, allocations: 29.7 kB / 405.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1187, allocations: 308.1 kB / 405.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.1188, allocations: 126.9 kB / 405.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1189, allocations: 70.09 kB / 405.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1191, allocations: 350.8 kB / 406.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1193, allocations: 100.8 kB / 406.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1196, allocations: 190.6 kB / 406.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.1201, allocations: 309.9 kB / 406.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1201, allocations: 11.94 kB / 406.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008065/0.1209, allocations: 446.4 kB / 407.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1209, allocations: 8.312 kB / 407.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1209, allocations: 8 kB / 407.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.1213, allocations: 81.59 kB / 407.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1216, allocations: 75.91 kB / 407.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.1243, allocations: 3.127 MB / 410.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.1246, allocations: 15.98 kB / 410.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1246, allocations: 16 kB / 410.5 MB, free: 4.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.1248, allocations: 165.7 kB / 410.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.1249, allocations: 51.72 kB / 410.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.125, allocations: 47.47 kB / 410.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.125, allocations: 4 kB / 410.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.125, allocations: 4 kB / 410.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.125, allocations: 3.984 kB / 410.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.1265, allocations: 0.9416 MB / 411.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1265, allocations: 192 / 411.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1266, allocations: 51.91 kB / 411.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.1269, allocations: 85.62 kB / 411.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.1269, allocations: 8 kB / 411.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.1297, allocations: 3.131 MB / 415 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1297, allocations: 3.984 kB / 415 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.1306, allocations: 0.6136 MB / 415.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1307, allocations: 120.9 kB / 415.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.1308, allocations: 4 kB / 415.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1311, allocations: 35.97 kB / 415.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1312, allocations: 23.91 kB / 415.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1312, allocations: 12 kB / 415.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003131/0.1315, allocations: 275.2 kB / 416.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1315, allocations: 0 / 416.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.1321, allocations: 116 kB / 416.2 MB, free: 14.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.1334, allocations: 1.174 MB / 417.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.1343, allocations: 0.4895 MB / 417.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1343, allocations: 7.938 kB / 417.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.1349, allocations: 381.9 kB / 418.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1354, allocations: 73.52 kB / 418.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.1409, allocations: 4.198 MB / 422.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.1414, allocations: 0.8431 MB / 423.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.1416, allocations: 43.28 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.1418, allocations: 171.4 kB / 423.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1418, allocations: 4 kB / 423.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.1822, allocations: 9.051 MB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.845/10.03, allocations: 7.969 kB / 432.6 MB, free: 14.05 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.646163796074688]