Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.001655/0.001655, allocations: 123.9 kB / 17.79 MB, free: 5.246 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.001745/0.001745, allocations: 185.2 kB / 20.73 MB, free: 2.316 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.439/1.439, 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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 43.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1036, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005288/0.1089, allocations: 3.782 MB / 421.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1108, allocations: 0.9502 MB / 422.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.111, allocations: 27.88 kB / 422.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1113, allocations: 154.8 kB / 422.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007771/0.1121, allocations: 282.5 kB / 423 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1124, allocations: 119.9 kB / 423.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.1139, allocations: 1.401 MB / 424.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.115, allocations: 0.877 MB / 425.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007745/0.1158, allocations: 0.6309 MB / 426 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1168, allocations: 0.7744 MB / 426.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.117, allocations: 160 kB / 426.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1173, allocations: 156 kB / 427.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.1177, allocations: 466.7 kB / 427.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007927/0.1185, allocations: 0.7272 MB / 428.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.1206, allocations: 2.04 MB / 430.3 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1206, allocations: 0 / 430.3 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1206, allocations: 0 / 430.3 MB, free: 12 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.1207, allocations: 0 / 430.3 MB, free: 12 kB / 350.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.003125/0.1238, allocations: 1.702 MB / 432 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1238, allocations: 12.03 kB / 432 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.1241, allocations: 177.2 kB / 432.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1243, allocations: 144 kB / 432.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.1259, allocations: 0.8779 MB / 433.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.126, allocations: 90.09 kB / 433.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1261, allocations: 112 kB / 433.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.1286, allocations: 1.541 MB / 434.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1287, allocations: 0 / 434.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1288, allocations: 48 kB / 435 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.1288, allocations: 28 kB / 435 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.131, allocations: 1.316 MB / 436.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007118/0.1381, allocations: 4.187 MB / 440.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.1394, allocations: 1.277 MB / 441.8 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.1401, allocations: 438.6 kB / 442.2 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1401, allocations: 8.438 kB / 442.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.1402, allocations: 35 kB / 442.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.725e-06/0.1402, allocations: 8 kB / 442.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003449/0.1436, allocations: 1.96 MB / 444.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1437, allocations: 55.84 kB / 444.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1448, allocations: 0.8165 MB / 445.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.1449, allocations: 37.7 kB / 445.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.1453, allocations: 0.5545 MB / 445.7 MB, free: 36 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1846/0.3298, allocations: 179.7 kB / 445.9 MB, free: 29.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.33, allocations: 110.6 kB / 446 MB, free: 29.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3302, allocations: 382.3 kB / 446.4 MB, free: 29.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.3306, allocations: 302.4 kB / 446.6 MB, free: 29.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.3311, allocations: 408.1 kB / 447 MB, free: 29.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3319, allocations: 0.6987 MB / 447.7 MB, free: 29.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3319, allocations: 3.438 kB / 447.7 MB, free: 29.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001257/0.3331, allocations: 0.919 MB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3331, allocations: 6.688 kB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3332, allocations: 7.203 kB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.3334, allocations: 108.7 kB / 448.8 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.3339, allocations: 125.4 kB / 448.9 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.3356, allocations: 2.366 MB / 451.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.336, allocations: 28.42 kB / 451.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.336, allocations: 16.69 kB / 451.3 MB, free: 27.89 MB / 366.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.0005411/0.3365, allocations: 453.3 kB / 451.8 MB, free: 27.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3366, allocations: 79.05 kB / 451.8 MB, free: 27.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3368, allocations: 98.02 kB / 451.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3368, allocations: 5.656 kB / 451.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3368, allocations: 1.625 kB / 451.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3368, allocations: 3.922 kB / 451.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3398, allocations: 2.005 MB / 454 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3398, allocations: 6.25 kB / 454 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.3401, allocations: 88.69 kB / 454 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.3403, allocations: 101.8 kB / 454.1 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.3404, allocations: 15.31 kB / 454.2 MB, free: 27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.3422, allocations: 2.332 MB / 456.5 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3423, allocations: 4.938 kB / 456.5 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.3438, allocations: 1.198 MB / 457.7 MB, free: 24.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.3441, allocations: 167.2 kB / 457.9 MB, free: 24.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.3441, allocations: 15.47 kB / 457.9 MB, free: 24.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.3445, allocations: 51.89 kB / 457.9 MB, free: 24.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.3446, allocations: 45.25 kB / 458 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3446, allocations: 14.72 kB / 458 MB, free: 24.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006678/0.3453, allocations: 0.5819 MB / 458.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3453, allocations: 1.125 kB / 458.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007214/0.346, allocations: 209.3 kB / 458.8 MB, free: 24.16 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.001569/0.3476, allocations: 1.761 MB / 460.5 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3489, allocations: 0.7996 MB / 461.3 MB, free: 22.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3489, allocations: 1.062 kB / 461.3 MB, free: 22.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.3495, allocations: 477 kB / 461.8 MB, free: 22.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.3504, allocations: 172.6 kB / 462 MB, free: 22.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.3618, allocations: 8.599 MB / 470.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.3627, allocations: 1.333 MB / 471.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.3632, allocations: 192.4 kB / 472.1 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.3636, allocations: 378.1 kB / 472.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3636, allocations: 0 / 472.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.4112, allocations: 19.63 MB / 492.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.36, allocations: 1.875 kB / 492.1 MB, free: 2.238 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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: 13.786506345961243]