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.0008031/0.0008031, allocations: 83.69 kB / 21.44 MB, free: 3.113 MB / 18.57 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.003715/0.003715, allocations: 154.1 kB / 24.69 MB, free: 8.918 MB / 18.57 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 0.857/0.857, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.622e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.003793/0.003809, allocations: 5.034 MB / 330.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.005909, allocations: 1.771 MB / 332.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.006121, allocations: 20 kB / 332.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.007617, allocations: 1.574 MB / 334.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007787/0.008396, allocations: 0.5903 MB / 334.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.008844, allocations: 398.8 kB / 335.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.009399, allocations: 0.8399 MB / 336 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.01017, allocations: 0.743 MB / 336.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.0106, allocations: 0.5261 MB / 337.3 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.01089, allocations: 379 kB / 337.7 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.01096, allocations: 76 kB / 337.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.01124, allocations: 243.6 kB / 338 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.01132, allocations: 187.3 kB / 338.2 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.01148, allocations: 283.3 kB / 338.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.01227, allocations: 1.191 MB / 339.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01228, allocations: 0 / 339.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01228, allocations: 0 / 339.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.01229, allocations: 0 / 339.6 MB, free: 1.531 MB / 298.7 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.001819/0.01411, allocations: 1.285 MB / 340.9 MB, free: 212 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.01414, allocations: 12.03 kB / 340.9 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.01618, allocations: 0.6208 MB / 341.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.01658, allocations: 360.5 kB / 341.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.01662, allocations: 74.38 kB / 342 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.0167, allocations: 92.38 kB / 342.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.01769, allocations: 1.012 MB / 343.1 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.01771, allocations: 16 kB / 343.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.01776, allocations: 40.38 kB / 343.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01778, allocations: 31.94 kB / 343.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.01874, allocations: 0.9097 MB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.02124, allocations: 2.795 MB / 346.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.02222, allocations: 0.7595 MB / 347.6 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.02246, allocations: 248.5 kB / 347.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.02252, allocations: 28.56 kB / 347.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.02254, allocations: 47.2 kB / 348 MB, free: 8.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.02254, allocations: 0 / 348 MB, free: 8.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.0008124/0.02335, allocations: 0.7241 MB / 348.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.0234, allocations: 107.5 kB / 348.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.02356, allocations: 269.4 kB / 349.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.02359, allocations: 37.7 kB / 349.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.02372, allocations: 391.9 kB / 349.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.02382, allocations: 234 kB / 349.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02393, allocations: 138.6 kB / 349.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.02402, allocations: 347 kB / 350.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.02426, allocations: 225.9 kB / 350.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.02458, allocations: 439.4 kB / 350.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.02519, allocations: 0.6968 MB / 351.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.02519, allocations: 4 kB / 351.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000734/0.02592, allocations: 0.755 MB / 352.3 MB, free: 4.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.02594, allocations: 8 kB / 352.3 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.02594, allocations: 8 kB / 352.3 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.02596, allocations: 11.94 kB / 352.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.02629, allocations: 195.6 kB / 352.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.0263, allocations: 11.94 kB / 352.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02648, allocations: 83.62 kB / 352.6 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.0265, allocations: 36 kB / 352.6 MB, free: 4.047 MB / 314.7 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.0001626/0.02667, allocations: 217.6 kB / 352.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.02672, allocations: 39.77 kB / 352.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.02739, allocations: 0.6462 MB / 353.5 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.0274, allocations: 8 kB / 353.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.0274, allocations: 4 kB / 353.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.02741, allocations: 11.92 kB / 353.5 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.02865, allocations: 1.261 MB / 354.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02866, allocations: 0 / 354.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.02893, allocations: 143.8 kB / 354.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.02893, allocations: 4 kB / 355 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.02895, allocations: 12 kB / 355 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.02895, allocations: 8 kB / 355 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02895, allocations: 3.938 kB / 355 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.0299, allocations: 1.12 MB / 356.1 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.02994, allocations: 47.61 kB / 356.1 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.02997, allocations: 12 kB / 356.2 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.03013, allocations: 27.98 kB / 356.2 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.03019, allocations: 52.5 kB / 356.2 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.03021, allocations: 24.06 kB / 356.3 MB, free: 356 kB / 314.7 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.03031, allocations: 169.2 kB / 356.4 MB, free: 184 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03031, allocations: 0 / 356.4 MB, free: 184 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.03072, allocations: 235.3 kB / 356.6 MB, free: 15.95 MB / 330.7 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.0001708/0.0309, allocations: 161.2 kB / 356.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.03148, allocations: 0.5726 MB / 357.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.03148, allocations: 0 / 357.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.03173, allocations: 271.6 kB / 357.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.03204, allocations: 36.5 kB / 357.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.03318, allocations: 1.214 MB / 358.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.03335, allocations: 303.8 kB / 359.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.03347, allocations: 64.48 kB / 359.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.03347, allocations: 0 / 359.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Templates: time 0.006075/0.03955, allocations: 7.808 MB / 367.1 MB, free: 5.453 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/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: 4.460668521001935]