Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001222/0.001222, allocations: 119.3 kB / 17.79 MB, free: 5.285 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.001477/0.001477, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.413/1.413, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.91 kB / 365.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1059, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005498/0.1114, allocations: 4.1 MB / 421.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1131, allocations: 0.8723 MB / 422.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1133, allocations: 11.94 kB / 422.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1135, allocations: 95.06 kB / 422.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1139, allocations: 186.4 kB / 423.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1142, allocations: 147.7 kB / 423.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.115, allocations: 0.6654 MB / 423.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1152, allocations: 151 kB / 424 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1155, allocations: 259 kB / 424.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.1158, allocations: 286.6 kB / 424.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.1159, allocations: 56 kB / 424.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.116, allocations: 56 kB / 424.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1161, allocations: 131.5 kB / 424.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.1164, allocations: 306.4 kB / 425.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.1171, allocations: 0.6418 MB / 425.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1171, allocations: 0 / 425.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1171, allocations: 0 / 425.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1171, allocations: 3.938 kB / 425.7 MB, free: 4.613 MB / 350.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.00148/0.1186, allocations: 0.8801 MB / 426.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1186, allocations: 11.97 kB / 426.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.1187, allocations: 107.9 kB / 426.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1189, allocations: 72.52 kB / 426.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.1194, allocations: 375.9 kB / 427.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.1194, allocations: 37.69 kB / 427.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.1195, allocations: 56.38 kB / 427.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.1203, allocations: 0.4995 MB / 427.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1203, allocations: 0 / 427.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1204, allocations: 20 kB / 427.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.1204, allocations: 15.98 kB / 427.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.121, allocations: 336.7 kB / 428.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.1237, allocations: 1.725 MB / 429.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.1242, allocations: 245.1 kB / 430.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.1244, allocations: 129.7 kB / 430.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1244, allocations: 11.94 kB / 430.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1245, allocations: 42.5 kB / 430.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.1245, allocations: 0 / 430.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001947/0.1264, allocations: 0.9658 MB / 431.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1265, allocations: 81.11 kB / 431.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.1269, allocations: 385.6 kB / 431.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.127, allocations: 29.7 kB / 431.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1272, allocations: 304.1 kB / 432 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.1273, allocations: 119 kB / 432.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1274, allocations: 74.09 kB / 432.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1276, allocations: 354.8 kB / 432.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1278, allocations: 100.8 kB / 432.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1281, allocations: 194.6 kB / 432.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.1286, allocations: 308.5 kB / 433.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1286, allocations: 4 kB / 433.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000787/0.1293, allocations: 446.5 kB / 433.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1294, allocations: 8 kB / 433.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1294, allocations: 4.312 kB / 433.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.1297, allocations: 85.53 kB / 433.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.13, allocations: 79.91 kB / 433.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.1327, allocations: 3.135 MB / 436.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.133, allocations: 23.94 kB / 436.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.133, allocations: 12 kB / 436.9 MB, free: 8.684 MB / 366.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.0001901/0.1332, allocations: 166.3 kB / 437.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.1333, allocations: 47.7 kB / 437.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1334, allocations: 55.45 kB / 437.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1334, allocations: 4 kB / 437.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1334, allocations: 0 / 437.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1334, allocations: 4 kB / 437.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.1347, allocations: 0.9498 MB / 438.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1347, allocations: 0 / 438.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1349, allocations: 44.16 kB / 438.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.1352, allocations: 85.58 kB / 438.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1352, allocations: 15.98 kB / 438.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.1378, allocations: 3.123 MB / 441.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1378, allocations: 0 / 441.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.1387, allocations: 0.6182 MB / 442 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1388, allocations: 116.8 kB / 442.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.1388, allocations: 8 kB / 442.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.1392, allocations: 31.97 kB / 442.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.1392, allocations: 23.97 kB / 442.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1392, allocations: 12 kB / 442.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.1395, allocations: 275.2 kB / 442.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1395, allocations: 0 / 442.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.1401, allocations: 116 kB / 442.6 MB, free: 2.605 MB / 366.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.001279/0.1413, allocations: 1.17 MB / 443.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008821/0.1422, allocations: 0.4932 MB / 444.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.1422, allocations: 8 kB / 444.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.1428, allocations: 373.8 kB / 444.6 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1433, allocations: 63.34 kB / 444.7 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.337, allocations: 4.2 MB / 448.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3373, allocations: 0.8435 MB / 449.8 MB, free: 27.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3375, allocations: 42.73 kB / 449.8 MB, free: 27.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3377, allocations: 175.3 kB / 450 MB, free: 27.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3377, allocations: 0 / 450 MB, free: 27.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.3806, allocations: 9.058 MB / 459 MB, free: 26.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.96/10.34, allocations: 8.141 kB / 459 MB, free: 26.4 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.114364773966372]