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.001755/0.001755, allocations: 112 kB / 20.43 MB, free: 1.449 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.002183/0.002183, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.445/1.445, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001551/0.001551, allocations: 47.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2508, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005548/0.2564, allocations: 3.788 MB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2585, allocations: 0.9697 MB / 427.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.2587, allocations: 27.81 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2591, allocations: 150.8 kB / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008417/0.2599, allocations: 294.4 kB / 427.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2602, allocations: 135.8 kB / 428 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.2617, allocations: 1.389 MB / 429.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.2626, allocations: 0.6314 MB / 430 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.2633, allocations: 0.6387 MB / 430.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.2644, allocations: 0.7744 MB / 431.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.2646, allocations: 156 kB / 431.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.2648, allocations: 160 kB / 431.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.2653, allocations: 466.7 kB / 432.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.266, allocations: 0.7311 MB / 432.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.2681, allocations: 2.036 MB / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2681, allocations: 0 / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2681, allocations: 0 / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.2681, allocations: 0 / 435 MB, free: 2.195 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.002895/0.271, allocations: 1.626 MB / 436.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.271, allocations: 12.03 kB / 436.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.2712, allocations: 173.2 kB / 436.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.2714, allocations: 148 kB / 436.9 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.273, allocations: 0.8202 MB / 437.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.273, allocations: 98.09 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.2732, allocations: 112 kB / 437.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.2757, allocations: 1.548 MB / 439.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2757, allocations: 0 / 439.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.2758, allocations: 44 kB / 439.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.2758, allocations: 31.98 kB / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.278, allocations: 1.316 MB / 440.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006682/0.2847, allocations: 4.105 MB / 445 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.2856, allocations: 0.613 MB / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.2864, allocations: 434.5 kB / 446 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2864, allocations: 12.38 kB / 446 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2864, allocations: 35 kB / 446.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 4.038e-06/0.2864, allocations: 8 kB / 446.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003292/0.2897, allocations: 1.884 MB / 447.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2898, allocations: 55.84 kB / 448 MB, free: 4.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.2908, allocations: 0.8204 MB / 448.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2909, allocations: 37.7 kB / 448.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.2913, allocations: 0.5467 MB / 449.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.2914, allocations: 186.4 kB / 449.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.2916, allocations: 102.3 kB / 449.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2918, allocations: 386.8 kB / 450.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.2923, allocations: 309.1 kB / 450.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.2929, allocations: 396.2 kB / 450.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.2939, allocations: 0.7057 MB / 451.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2939, allocations: 3.984 kB / 451.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001447/0.2953, allocations: 0.9076 MB / 452.4 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2954, allocations: 8 kB / 452.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2954, allocations: 0 / 452.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.2957, allocations: 112.9 kB / 452.5 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.2962, allocations: 135.8 kB / 452.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.2987, allocations: 2.257 MB / 454.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.299, allocations: 27.97 kB / 454.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.299, allocations: 16 kB / 454.9 MB, free: 13.65 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.0006339/0.2997, allocations: 461.6 kB / 455.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2998, allocations: 75.53 kB / 455.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.3, allocations: 95.05 kB / 455.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3, allocations: 8 kB / 455.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3, allocations: 3.938 kB / 455.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3, allocations: 0 / 455.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.3033, allocations: 1.985 MB / 457.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3033, allocations: 4 kB / 457.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.3036, allocations: 95.81 kB / 457.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.3039, allocations: 104.7 kB / 457.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.3039, allocations: 8 kB / 457.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.3062, allocations: 2.227 MB / 460 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3062, allocations: 8.344 kB / 460 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3079, allocations: 1.201 MB / 461.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.3081, allocations: 83.52 kB / 461.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.3082, allocations: 19.92 kB / 461.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.3086, allocations: 52.02 kB / 461.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3087, allocations: 48.23 kB / 461.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/0.3087, allocations: 16 kB / 461.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007883/0.3095, allocations: 0.5849 MB / 462 MB, free: 6.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3095, allocations: 4 kB / 462 MB, free: 6.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.3103, allocations: 208 kB / 462.2 MB, free: 6.152 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.002097/0.3124, allocations: 1.757 MB / 463.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3138, allocations: 0.8003 MB / 464.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3138, allocations: 0 / 464.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.3146, allocations: 485.7 kB / 465.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.3155, allocations: 186.7 kB / 465.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.3278, allocations: 8.594 MB / 474 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.329, allocations: 1.34 MB / 475.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.3295, allocations: 181.8 kB / 475.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/0.3301, allocations: 375.3 kB / 475.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3301, allocations: 0 / 475.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.3883, allocations: 20.07 MB / 496 MB, free: 4.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.92, allocations: 10.84 kB / 496 MB, free: 4.324 MB / 398.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.370179991936311]