Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.001793/0.001793, allocations: 121.3 kB / 18.45 MB, free: 4.605 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.002295/0.002295, allocations: 189.2 kB / 21.39 MB, free: 1.672 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.504/1.504, allocations: 207.6 MB / 231.8 MB, free: 4.203 MB / 174.1 MB " [Timeout remaining time 178] 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.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.001795/0.001795, allocations: 55.92 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08888, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005556/0.09444, allocations: 3.738 MB / 395.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.09648, allocations: 1.017 MB / 396.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.09668, allocations: 19.94 kB / 396.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.09702, allocations: 154.8 kB / 396.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.09778, allocations: 294.4 kB / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.09805, allocations: 131.8 kB / 396.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.09986, allocations: 1.412 MB / 398.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.101, allocations: 0.8291 MB / 398.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.1017, allocations: 0.6192 MB / 399.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1028, allocations: 0.7706 MB / 400.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.103, allocations: 160 kB / 400.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.1033, allocations: 156 kB / 400.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.1037, allocations: 466.6 kB / 401.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009235/0.1046, allocations: 0.7272 MB / 401.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1066, allocations: 2.036 MB / 403.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1066, allocations: 0 / 403.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1066, allocations: 0 / 403.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.1066, allocations: 4 kB / 403.9 MB, free: 12.17 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003303/0.1099, allocations: 1.686 MB / 405.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.11, allocations: 12.03 kB / 405.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.1103, allocations: 177.2 kB / 405.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.1105, allocations: 144 kB / 405.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.112, allocations: 0.8234 MB / 406.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.1121, allocations: 86.16 kB / 406.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.1124, allocations: 112 kB / 406.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.115, allocations: 1.54 MB / 408.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.115, allocations: 0 / 408.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.1151, allocations: 44 kB / 408.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1152, allocations: 28 kB / 408.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.1175, allocations: 1.308 MB / 409.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007533/0.125, allocations: 4.179 MB / 414 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.1263, allocations: 1.284 MB / 415.3 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.127, allocations: 434.5 kB / 415.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.127, allocations: 8.438 kB / 415.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.127, allocations: 35 kB / 415.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.127, allocations: 0 / 415.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003512/0.1306, allocations: 1.952 MB / 417.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1306, allocations: 63.78 kB / 417.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1318, allocations: 0.8281 MB / 418.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.1318, allocations: 33.7 kB / 418.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.1322, allocations: 0.5467 MB / 419.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1324, allocations: 190.4 kB / 419.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.1327, allocations: 106.2 kB / 419.5 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1329, allocations: 378.8 kB / 419.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.1334, allocations: 312.9 kB / 420.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.134, allocations: 395.4 kB / 420.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.1351, allocations: 0.7067 MB / 421.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1351, allocations: 0 / 421.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001521/0.1366, allocations: 0.9092 MB / 422.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1366, allocations: 4 kB / 422.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1367, allocations: 4 kB / 422.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.1369, allocations: 120.8 kB / 422.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1374, allocations: 123.8 kB / 422.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1401, allocations: 2.368 MB / 424.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1405, allocations: 27.97 kB / 424.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1405, allocations: 20 kB / 424.8 MB, free: 6.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007502/0.1413, allocations: 457.6 kB / 425.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1414, allocations: 79.52 kB / 425.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1415, allocations: 91.08 kB / 425.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1415, allocations: 4 kB / 425.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.1416, allocations: 7.938 kB / 425.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1416, allocations: 3.984 kB / 425.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.1451, allocations: 2.013 MB / 427.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1451, allocations: 4 kB / 427.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.1454, allocations: 91.88 kB / 427.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/0.1458, allocations: 108.9 kB / 427.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1458, allocations: 16.06 kB / 427.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.1482, allocations: 2.33 MB / 430 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1483, allocations: 7.969 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.1501, allocations: 1.201 MB / 431.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1503, allocations: 164.6 kB / 431.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.1504, allocations: 12 kB / 431.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.1508, allocations: 51.89 kB / 431.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1509, allocations: 48.38 kB / 431.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1509, allocations: 16 kB / 431.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009128/0.1518, allocations: 0.5849 MB / 432.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1518, allocations: 0 / 432.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.1526, allocations: 208 kB / 432.3 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.1547, allocations: 1.761 MB / 434 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1562, allocations: 0.7973 MB / 434.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1562, allocations: 4.125 kB / 434.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.1569, allocations: 480.8 kB / 435.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.1577, allocations: 183.3 kB / 435.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.1698, allocations: 8.597 MB / 444.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.171, allocations: 1.34 MB / 445.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004496/0.1714, allocations: 181.8 kB / 445.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.1719, allocations: 375.3 kB / 446 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1719, allocations: 0 / 446 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/0.3893, allocations: 19.58 MB / 465.5 MB, free: 64.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 12.92 kB / 465.6 MB, free: 64.23 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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: 14.125962818041444]