Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00224/0.00224, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 62.33 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.0964, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006987/0.1034, allocations: 5.023 MB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.1072, allocations: 1.76 MB / 385.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1075, allocations: 20 kB / 385.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.1113, allocations: 1.579 MB / 387.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.113, allocations: 0.5979 MB / 387.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.1139, allocations: 395 kB / 388.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.1149, allocations: 0.7977 MB / 389.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.116, allocations: 0.7317 MB / 389.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.1165, allocations: 370.6 kB / 390.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.117, allocations: 430.1 kB / 390.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1171, allocations: 80 kB / 390.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.1176, allocations: 231.9 kB / 390.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1178, allocations: 191.3 kB / 391.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.1181, allocations: 334.4 kB / 391.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.1194, allocations: 1.187 MB / 392.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1194, allocations: 0 / 392.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1194, allocations: 0 / 392.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1194, allocations: 4 kB / 392.6 MB, free: 1.719 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.003259/0.1227, allocations: 1.297 MB / 393.9 MB, free: 400 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1227, allocations: 11.98 kB / 393.9 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.1274, allocations: 0.6208 MB / 394.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.1281, allocations: 365.3 kB / 394.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.1282, allocations: 74.38 kB / 394.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.1283, allocations: 100.3 kB / 395 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.13, allocations: 1.011 MB / 396.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.1301, allocations: 0 / 396.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.1301, allocations: 44 kB / 396.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.1302, allocations: 24 kB / 396.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.1318, allocations: 0.9252 MB / 397.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/0.1362, allocations: 2.799 MB / 399.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1381, allocations: 0.746 MB / 400.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.1386, allocations: 256.4 kB / 400.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-05/0.1386, allocations: 20.64 kB / 400.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.1387, allocations: 47.2 kB / 400.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 4.759e-06/0.1387, allocations: 3.984 kB / 400.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001463/0.1402, allocations: 0.7279 MB / 401.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1402, allocations: 111.5 kB / 401.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1405, allocations: 261.5 kB / 402 MB, free: 8.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.1406, allocations: 37.7 kB / 402 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.1408, allocations: 392 kB / 402.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.141, allocations: 238 kB / 402.7 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.1412, allocations: 142.6 kB / 402.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1414, allocations: 351 kB / 403.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.1418, allocations: 221.9 kB / 403.4 MB, free: 6.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.1424, allocations: 435.4 kB / 403.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1435, allocations: 0.7008 MB / 404.5 MB, free: 5.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1435, allocations: 7.938 kB / 404.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001315/0.1448, allocations: 0.7549 MB / 405.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1449, allocations: 11.98 kB / 405.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1449, allocations: 4 kB / 405.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1449, allocations: 15.94 kB / 405.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.1456, allocations: 187.7 kB / 405.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.1456, allocations: 15.92 kB / 405.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.146, allocations: 75.73 kB / 405.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.1461, allocations: 39.98 kB / 405.6 MB, free: 4.215 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.0002785/0.1464, allocations: 217.6 kB / 405.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1465, allocations: 43.72 kB / 405.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.1477, allocations: 0.6423 MB / 406.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1477, allocations: 8 kB / 406.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1477, allocations: 4 kB / 406.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1477, allocations: 11.92 kB / 406.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.1499, allocations: 1.253 MB / 407.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1499, allocations: 0 / 407.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.1505, allocations: 143.8 kB / 407.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1505, allocations: 4 kB / 407.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.1505, allocations: 15.98 kB / 407.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1505, allocations: 8 kB / 407.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1505, allocations: 3.938 kB / 407.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.1522, allocations: 1.124 MB / 409.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1523, allocations: 43.61 kB / 409.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1523, allocations: 12 kB / 409.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.1527, allocations: 27.98 kB / 409.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.1528, allocations: 60.5 kB / 409.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.1528, allocations: 23.94 kB / 409.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.153, allocations: 169.2 kB / 409.4 MB, free: 356 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.153, allocations: 0 / 409.4 MB, free: 356 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007166/0.1537, allocations: 231.3 kB / 409.6 MB, free: 124 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.0002497/0.154, allocations: 151.1 kB / 409.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.155, allocations: 0.5762 MB / 410.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.155, allocations: 0 / 410.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.1555, allocations: 267.6 kB / 410.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.156, allocations: 36.5 kB / 410.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1579, allocations: 1.257 MB / 411.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1582, allocations: 299.8 kB / 412.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.1585, allocations: 80.34 kB / 412.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1586, allocations: 56.48 kB / 412.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1586, allocations: 0 / 412.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.01012/0.1688, allocations: 4.362 MB / 416.7 MB, free: 9.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.4929367690347135]