Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 55.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 53.33 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005414/0.1238, allocations: 3.791 MB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2556/0.3794, allocations: 1.026 MB / 431.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007831/0.3802, allocations: 34.44 kB / 431.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.3807, allocations: 151.6 kB / 431.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3817, allocations: 275.6 kB / 431.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.382, allocations: 141.3 kB / 431.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.3834, allocations: 1.406 MB / 433.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.3844, allocations: 0.8809 MB / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.3852, allocations: 0.6507 MB / 434.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008996/0.3861, allocations: 0.7695 MB / 435.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.3864, allocations: 156 kB / 435.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3867, allocations: 159.7 kB / 435.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.3871, allocations: 464.5 kB / 436.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.3879, allocations: 0.7346 MB / 436.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.3905, allocations: 2.053 MB / 439 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3905, allocations: 0 / 439 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.3905, allocations: 2.188 kB / 439 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.317e-05/0.3905, allocations: 0 / 439 MB, free: 5.871 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00374/0.3943, allocations: 1.703 MB / 440.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.3943, allocations: 15.19 kB / 440.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002793/0.3946, allocations: 171.2 kB / 440.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.3953, allocations: 176.9 kB / 441 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.3968, allocations: 0.9064 MB / 441.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.3969, allocations: 79.06 kB / 442 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.3971, allocations: 112.1 kB / 442.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.3999, allocations: 1.546 MB / 443.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4, allocations: 0 / 443.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4001, allocations: 45.94 kB / 443.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.4001, allocations: 33.09 kB / 443.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.4024, allocations: 1.312 MB / 445.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006981/0.4094, allocations: 4.181 MB / 449.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.4107, allocations: 1.285 MB / 450.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.4115, allocations: 434 kB / 451 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.4115, allocations: 5.438 kB / 451 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.4116, allocations: 42.5 kB / 451 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.4116, allocations: 0 / 451 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.004036/0.4156, allocations: 1.958 MB / 453 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4157, allocations: 57.09 kB / 453 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.417, allocations: 0.8256 MB / 453.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.417, allocations: 36.05 kB / 453.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.4175, allocations: 0.5523 MB / 454.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.4177, allocations: 184.7 kB / 454.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.4178, allocations: 101.8 kB / 454.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.4181, allocations: 391.9 kB / 455.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.4187, allocations: 307.7 kB / 455.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.4193, allocations: 404.4 kB / 455.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.4204, allocations: 0.696 MB / 456.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4204, allocations: 0 / 456.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001825/0.4223, allocations: 0.9211 MB / 457.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4223, allocations: 5.719 kB / 457.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4223, allocations: 6.594 kB / 457.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.4226, allocations: 112.5 kB / 457.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.4232, allocations: 122.9 kB / 457.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.4259, allocations: 2.362 MB / 460 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.4264, allocations: 34.03 kB / 460 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.4264, allocations: 17.72 kB / 460.1 MB, free: 9.297 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.000835/0.4272, allocations: 460 kB / 460.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4274, allocations: 77.75 kB / 460.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.4276, allocations: 93.53 kB / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4276, allocations: 4.375 kB / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.4276, allocations: 2.094 kB / 460.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4276, allocations: 3.938 kB / 460.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.4311, allocations: 2.018 MB / 462.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4311, allocations: 2.844 kB / 462.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4315, allocations: 86.3 kB / 462.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.4317, allocations: 103.4 kB / 462.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.4318, allocations: 18.11 kB / 462.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.4342, allocations: 2.327 MB / 465.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4342, allocations: 1.875 kB / 465.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.4361, allocations: 1.205 MB / 466.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.4363, allocations: 165.1 kB / 466.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.4364, allocations: 17.12 kB / 466.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.4368, allocations: 46.33 kB / 466.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.437, allocations: 47.38 kB / 466.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.437, allocations: 14.66 kB / 466.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008673/0.4379, allocations: 0.5981 MB / 467.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 467.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009235/0.4388, allocations: 208.6 kB / 467.5 MB, free: 4.137 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.002318/0.4411, allocations: 1.757 MB / 469.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.4427, allocations: 0.803 MB / 470.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4427, allocations: 2.094 kB / 470.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.4436, allocations: 476.1 kB / 470.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.4446, allocations: 186.2 kB / 470.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.4586, allocations: 8.636 MB / 479.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.46, allocations: 1.338 MB / 480.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.4607, allocations: 185.6 kB / 480.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.4613, allocations: 383.3 kB / 481.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.4613, allocations: 0 / 481.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/0.5249, allocations: 19.74 MB / 0.4893 GB, free: 4.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.82, allocations: 14.44 kB / 0.4893 GB, free: 4.078 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 14.30755813093856]