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.001252/0.001252, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001327/0.001327, allocations: 159.7 kB / 24.5 MB, free: 3.715 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.42/1.42, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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: 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 0.0016/0.0016, allocations: 56.17 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08779, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006626/0.09441, allocations: 5.023 MB / 383.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.09736, allocations: 1.764 MB / 385.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.09759, allocations: 23.94 kB / 385.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.1011, allocations: 1.575 MB / 387.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1023, allocations: 0.5828 MB / 387.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.1031, allocations: 390.9 kB / 388.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008428/0.1039, allocations: 0.8017 MB / 389 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1051, allocations: 0.7393 MB / 389.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.1055, allocations: 362.7 kB / 390.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.1061, allocations: 434.1 kB / 390.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1062, allocations: 80 kB / 390.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.1066, allocations: 239.8 kB / 390.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1067, allocations: 179.4 kB / 391.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.1071, allocations: 342.4 kB / 391.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.1084, allocations: 1.194 MB / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1084, allocations: 0 / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1084, allocations: 0 / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1084, allocations: 0 / 392.6 MB, free: 1.898 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.003325/0.1117, allocations: 1.293 MB / 393.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1118, allocations: 8.031 kB / 393.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.1167, allocations: 0.617 MB / 394.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.1174, allocations: 365.3 kB / 394.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.1174, allocations: 74.38 kB / 394.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1176, allocations: 92.38 kB / 395 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.1193, allocations: 1.023 MB / 396 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.1193, allocations: 4 kB / 396 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.1194, allocations: 39.94 kB / 396.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1194, allocations: 24 kB / 396.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.1211, allocations: 0.9213 MB / 397 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.1255, allocations: 2.799 MB / 399.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.1274, allocations: 0.7439 MB / 400.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1278, allocations: 254.8 kB / 400.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.083e-05/0.1279, allocations: 32.61 kB / 400.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.128, allocations: 47.16 kB / 400.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.104e-06/0.128, allocations: 0 / 400.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001462/0.1294, allocations: 0.7243 MB / 401.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1295, allocations: 111.5 kB / 401.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1298, allocations: 265.5 kB / 402 MB, free: 8.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1298, allocations: 37.7 kB / 402 MB, free: 8.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.1301, allocations: 399.9 kB / 402.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.1303, allocations: 234 kB / 402.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.1305, allocations: 142.6 kB / 402.8 MB, free: 7.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1306, allocations: 350.7 kB / 403.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.1311, allocations: 217.9 kB / 403.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.1317, allocations: 439.5 kB / 403.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.1328, allocations: 0.7046 MB / 404.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1328, allocations: 0 / 404.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00133/0.1341, allocations: 0.7513 MB / 405.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1341, allocations: 12.03 kB / 405.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1341, allocations: 4 kB / 405.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.1342, allocations: 15.94 kB / 405.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.1349, allocations: 191.7 kB / 405.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.1349, allocations: 19.86 kB / 405.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.1353, allocations: 75.5 kB / 405.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.1353, allocations: 36 kB / 405.6 MB, free: 4.402 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.0002636/0.1356, allocations: 221.6 kB / 405.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1357, allocations: 47.7 kB / 405.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.137, allocations: 0.6461 MB / 406.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.137, allocations: 8 kB / 406.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.137, allocations: 4 kB / 406.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.137, allocations: 7.984 kB / 406.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.1391, allocations: 1.265 MB / 407.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1392, allocations: 0 / 407.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.1398, allocations: 139.8 kB / 407.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1398, allocations: 4 kB / 407.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.1398, allocations: 16 kB / 407.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1398, allocations: 0 / 407.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1398, allocations: 7.984 kB / 407.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.1415, allocations: 1.124 MB / 409.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1415, allocations: 43.58 kB / 409.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.1416, allocations: 15.98 kB / 409.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.1419, allocations: 20 kB / 409.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.142, allocations: 56.44 kB / 409.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1421, allocations: 19.98 kB / 409.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1422, allocations: 169.2 kB / 409.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1422, allocations: 4.062 kB / 409.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007168/0.143, allocations: 235.3 kB / 409.6 MB, free: 308 kB / 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.000231/0.1432, allocations: 155 kB / 409.8 MB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1442, allocations: 0.5729 MB / 410.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1443, allocations: 4.25 kB / 410.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1447, allocations: 267.6 kB / 410.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1452, allocations: 43.3 kB / 410.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1471, allocations: 1.256 MB / 411.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1475, allocations: 303.8 kB / 412.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.1477, allocations: 76.34 kB / 412.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.1479, allocations: 60.48 kB / 412.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1479, allocations: 0 / 412.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01026/0.1581, allocations: 4.335 MB / 416.7 MB, free: 9.211 MB / 382.1 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 -s ida -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/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: 4.364027766045183]