Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001347/0.001347, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001609/0.001609, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 59.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2272, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005216/0.2324, allocations: 3.494 MB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2343, allocations: 0.9892 MB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.2345, allocations: 31.81 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.2348, allocations: 154.8 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.2356, allocations: 298.4 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.2359, allocations: 135.8 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.2374, allocations: 1.409 MB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008438/0.2382, allocations: 0.6252 MB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.239, allocations: 0.6464 MB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.24, allocations: 0.7901 MB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.2402, allocations: 156 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.2405, allocations: 164 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.241, allocations: 474.6 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.2416, allocations: 0.6029 MB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.2436, allocations: 2.063 MB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2437, allocations: 8 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2437, allocations: 0 / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.2437, allocations: 0 / 443.1 MB, free: 10.36 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003014/0.2467, allocations: 1.63 MB / 444.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2467, allocations: 19.98 kB / 444.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.247, allocations: 177.2 kB / 445 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.2475, allocations: 180 kB / 445.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2492, allocations: 0.8396 MB / 446 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.2493, allocations: 86.16 kB / 446.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.2494, allocations: 108 kB / 446.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.2523, allocations: 1.711 MB / 447.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2523, allocations: 3.938 kB / 447.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2524, allocations: 44 kB / 447.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.2525, allocations: 46.2 kB / 448 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.2547, allocations: 1.316 MB / 449.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007032/0.2617, allocations: 3.719 MB / 453 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2628, allocations: 0.5858 MB / 453.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.2635, allocations: 414 kB / 454 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.2636, allocations: 8.312 kB / 454 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.2636, allocations: 46.88 kB / 454.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 4.649e-06/0.2636, allocations: 3.984 kB / 454.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003577/0.2672, allocations: 1.809 MB / 455.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.2672, allocations: 63.78 kB / 455.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2684, allocations: 0.8282 MB / 456.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2684, allocations: 37.7 kB / 456.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.2688, allocations: 0.5621 MB / 457.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.269, allocations: 170.5 kB / 457.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2692, allocations: 94.36 kB / 457.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.2694, allocations: 386.8 kB / 458 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.2699, allocations: 297.1 kB / 458.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.2705, allocations: 401 kB / 458.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2716, allocations: 0.6919 MB / 459.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2716, allocations: 8 kB / 459.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001471/0.2731, allocations: 0.8984 MB / 460.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2731, allocations: 8 kB / 460.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2731, allocations: 0 / 460.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.2734, allocations: 108.7 kB / 460.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.2739, allocations: 111.9 kB / 460.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.2764, allocations: 2.246 MB / 462.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.2767, allocations: 27.97 kB / 462.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2768, allocations: 16 kB / 462.8 MB, free: 6.121 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 (56): * Single equations (assignments): 55 * 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.0006521/0.2774, allocations: 457.7 kB / 463.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2775, allocations: 83.53 kB / 463.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.2777, allocations: 91.08 kB / 463.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2777, allocations: 4.188 kB / 463.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2777, allocations: 3.938 kB / 463.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2777, allocations: 11.92 kB / 463.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.2809, allocations: 1.796 MB / 465.2 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2809, allocations: 4 kB / 465.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.2813, allocations: 75.89 kB / 465.3 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.2815, allocations: 104.8 kB / 465.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2815, allocations: 19.92 kB / 465.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.2839, allocations: 2.203 MB / 467.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2839, allocations: 0 / 467.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.2857, allocations: 1.149 MB / 468.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.2859, allocations: 91.53 kB / 468.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.2859, allocations: 15.94 kB / 468.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.2863, allocations: 44.02 kB / 468.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2864, allocations: 39.86 kB / 469 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2865, allocations: 16 kB / 469 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008011/0.2873, allocations: 0.5927 MB / 469.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2873, allocations: 0 / 469.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007117/0.288, allocations: 208 kB / 469.8 MB, free: 14.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.002069/0.2901, allocations: 1.696 MB / 471.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.2914, allocations: 0.7848 MB / 472.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2914, allocations: 4 kB / 472.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.2922, allocations: 454.4 kB / 472.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.293, allocations: 171.4 kB / 472.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.3051, allocations: 8.521 MB / 481.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.306, allocations: 0.7411 MB / 482.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000442/0.3064, allocations: 185.7 kB / 482.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.3069, allocations: 387.3 kB / 482.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3069, allocations: 0 / 482.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.3649, allocations: 20.89 MB / 0.4918 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.41, allocations: 21.91 kB / 0.4918 GB, free: 13.05 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.864728779997677]