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.001522/0.001522, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001797/0.001797, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.734 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 43.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2561, allocations: 53.37 MB / 431.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00679/0.2629, allocations: 5.015 MB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.2663, allocations: 1.76 MB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.2667, allocations: 19.94 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.2702, allocations: 1.497 MB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.2717, allocations: 0.5855 MB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.2725, allocations: 391 kB / 441.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.2734, allocations: 0.8056 MB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.2745, allocations: 0.7587 MB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.275, allocations: 362.7 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.2756, allocations: 490.1 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.2757, allocations: 80 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.2762, allocations: 243.8 kB / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2764, allocations: 187.2 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.2767, allocations: 334.4 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.2781, allocations: 1.189 MB / 445.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2781, allocations: 4 kB / 445.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2781, allocations: 0 / 445.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2781, allocations: 0 / 445.5 MB, free: 8.875 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.003328/0.2815, allocations: 1.296 MB / 446.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2815, allocations: 8.031 kB / 446.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.907e-05/0.2816, allocations: 26.19 kB / 446.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.2817, allocations: 156.2 kB / 447 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/0.2862, allocations: 0.6248 MB / 447.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000759/0.287, allocations: 363.9 kB / 448 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.287, allocations: 74.38 kB / 448.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.2872, allocations: 96.38 kB / 448.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.289, allocations: 1.015 MB / 449.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.2891, allocations: 0 / 449.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.2892, allocations: 40 kB / 449.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.2892, allocations: 24 kB / 449.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2908, allocations: 0.9291 MB / 450.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.2953, allocations: 2.917 MB / 453.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.2971, allocations: 0.7554 MB / 453.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.2975, allocations: 254.7 kB / 454.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/0.2976, allocations: 24.64 kB / 454.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.2977, allocations: 55.19 kB / 454.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.006e-06/0.2977, allocations: 0 / 454.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001457/0.2992, allocations: 0.7241 MB / 454.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2992, allocations: 111.7 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.2995, allocations: 269.8 kB / 455.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.2996, allocations: 37.7 kB / 455.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.2999, allocations: 391.9 kB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.3, allocations: 238 kB / 455.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3003, allocations: 138.6 kB / 456.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3004, allocations: 346.8 kB / 456.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.3008, allocations: 221.9 kB / 456.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.3014, allocations: 439.4 kB / 457 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3025, allocations: 0.7008 MB / 457.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3025, allocations: 0 / 457.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001274/0.3037, allocations: 0.7581 MB / 458.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3038, allocations: 8.875 kB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3038, allocations: 8 kB / 458.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3038, allocations: 12 kB / 458.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.3045, allocations: 195.7 kB / 458.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.3045, allocations: 11.94 kB / 458.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.3049, allocations: 83.39 kB / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.305, allocations: 36 kB / 458.8 MB, free: 11.04 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.000293/0.3053, allocations: 217.6 kB / 459.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3054, allocations: 47.69 kB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3067, allocations: 0.6539 MB / 459.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3067, allocations: 8 kB / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3067, allocations: 0 / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3067, allocations: 3.984 kB / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.3091, allocations: 1.377 MB / 461.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3091, allocations: 4 kB / 461.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.3096, allocations: 143.8 kB / 461.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3097, allocations: 4 kB / 461.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.3097, allocations: 19.92 kB / 461.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3097, allocations: 7.938 kB / 461.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3097, allocations: 0 / 461.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3114, allocations: 1.124 MB / 462.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.3115, allocations: 47.66 kB / 462.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.3116, allocations: 19.94 kB / 462.5 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.3119, allocations: 23.98 kB / 462.5 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.312, allocations: 44.56 kB / 462.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.312, allocations: 23.98 kB / 462.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3122, allocations: 181.2 kB / 462.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3122, allocations: 0 / 462.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007389/0.313, allocations: 239.2 kB / 463 MB, free: 6.793 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.002035/0.315, allocations: 1.711 MB / 464.7 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3161, allocations: 0.577 MB / 465.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3161, allocations: 0 / 465.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.3165, allocations: 271.6 kB / 465.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.3171, allocations: 36.5 kB / 465.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.3237, allocations: 4.849 MB / 470.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.324, allocations: 307.7 kB / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003046/0.3243, allocations: 80.38 kB / 470.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.3247, allocations: 263.3 kB / 471.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3247, allocations: 0 / 471.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.3618, allocations: 10.22 MB / 481.3 MB, free: 4.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.72, allocations: 2.578 kB / 481.3 MB, free: 4.371 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.445389250991866]