Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001992/0.001992, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.001607/0.001607, allocations: 213.6 kB / 23.74 MB, free: 4.531 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8 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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 52.06 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2735, allocations: 53.37 MB / 431.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008321/0.2819, allocations: 5.665 MB / 436.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.2863, allocations: 1.9 MB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.2867, allocations: 20 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.2903, allocations: 1.621 MB / 440.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2918, allocations: 0.6022 MB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.2927, allocations: 410.8 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2937, allocations: 0.7978 MB / 442.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.2951, allocations: 0.7702 MB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.2957, allocations: 362.6 kB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.2963, allocations: 490.2 kB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.2964, allocations: 84 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.2969, allocations: 243.8 kB / 444.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.2971, allocations: 187.4 kB / 444.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.2975, allocations: 425.9 kB / 444.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2989, allocations: 1.172 MB / 445.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2989, allocations: 0 / 445.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2989, allocations: 0 / 445.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2989, allocations: 0 / 445.8 MB, free: 8.184 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003272/0.3022, allocations: 1.308 MB / 447.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3022, allocations: 8.031 kB / 447.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.3024, allocations: 148.3 kB / 447.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.3069, allocations: 0.6208 MB / 447.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.3076, allocations: 357.4 kB / 448.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.3077, allocations: 74.38 kB / 448.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3078, allocations: 96.36 kB / 448.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.3095, allocations: 0.9938 MB / 449.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3096, allocations: 8 kB / 449.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3097, allocations: 40 kB / 449.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3097, allocations: 24 kB / 449.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.3114, allocations: 0.9253 MB / 450.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.3164, allocations: 3.162 MB / 453.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3182, allocations: 0.7773 MB / 454.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.3188, allocations: 252.4 kB / 454.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.3189, allocations: 24.62 kB / 454.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.3189, allocations: 59.08 kB / 454.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.866e-06/0.3189, allocations: 0 / 454.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001463/0.3204, allocations: 0.7241 MB / 455.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.3205, allocations: 115.4 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.3208, allocations: 274 kB / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.3209, allocations: 33.7 kB / 455.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.3212, allocations: 391.9 kB / 456.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3214, allocations: 238 kB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3216, allocations: 142.5 kB / 456.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3218, allocations: 346.8 kB / 456.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.3222, allocations: 221.9 kB / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.3228, allocations: 443.4 kB / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3239, allocations: 0.6929 MB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3239, allocations: 4 kB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001338/0.3252, allocations: 0.7622 MB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3253, allocations: 11.94 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3253, allocations: 4 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.3253, allocations: 12.72 kB / 459.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.326, allocations: 191.7 kB / 459.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.326, allocations: 15.94 kB / 459.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.3265, allocations: 83.39 kB / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.3265, allocations: 36 kB / 459.4 MB, free: 10.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.3268, allocations: 221.6 kB / 459.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.327, allocations: 47.69 kB / 459.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.3283, allocations: 0.6462 MB / 460.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3283, allocations: 8 kB / 460.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3283, allocations: 4 kB / 460.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3283, allocations: 3.984 kB / 460.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.3309, allocations: 1.455 MB / 461.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3309, allocations: 0 / 461.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.3315, allocations: 143.8 kB / 461.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.3315, allocations: 4 kB / 461.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.3315, allocations: 12 kB / 461.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3315, allocations: 7.938 kB / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3315, allocations: 0 / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.3333, allocations: 1.131 MB / 463.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.3334, allocations: 39.64 kB / 463.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.3335, allocations: 16 kB / 463.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3338, allocations: 23.98 kB / 463.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.3339, allocations: 52.56 kB / 463.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.334, allocations: 20 kB / 463.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.3342, allocations: 189.2 kB / 463.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3342, allocations: 0 / 463.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007551/0.3349, allocations: 227.3 kB / 463.6 MB, free: 5.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/0.3373, allocations: 1.715 MB / 465.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3384, allocations: 0.58 MB / 465.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3384, allocations: 0 / 465.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.3389, allocations: 267.6 kB / 466.2 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.3394, allocations: 46.45 kB / 466.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.3468, allocations: 4.843 MB / 471.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.3475, allocations: 0.9045 MB / 472 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.3478, allocations: 76.39 kB / 472 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.3482, allocations: 259.3 kB / 472.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3482, allocations: 3.938 kB / 472.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.3949, allocations: 10.34 MB / 482.6 MB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 11.03 kB / 482.6 MB, free: 2.613 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.924604170955718]