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.001374/0.001374, allocations: 117.6 kB / 18.5 MB, free: 4.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.001423/0.001423, allocations: 201 kB / 21.45 MB, free: 1.59 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.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.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.001947/0.001947, allocations: 67.88 kB / 373.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 53.32 MB / 427.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007289/0.1208, allocations: 5.649 MB / 432.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1244, allocations: 1.888 MB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1247, allocations: 23.94 kB / 434.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.1284, allocations: 1.609 MB / 436.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.1303, allocations: 0.6082 MB / 436.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.1312, allocations: 402.9 kB / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1323, allocations: 0.8056 MB / 438.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.1335, allocations: 0.6691 MB / 438.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.134, allocations: 354.7 kB / 439.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.1345, allocations: 498.1 kB / 439.6 MB, free: 8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1347, allocations: 80 kB / 439.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005834/0.1352, allocations: 243.8 kB / 439.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1354, allocations: 179.4 kB / 440.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.1358, allocations: 425.9 kB / 440.5 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1373, allocations: 1.179 MB / 441.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1373, allocations: 0 / 441.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1373, allocations: 0 / 441.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1373, allocations: 4 kB / 441.7 MB, free: 5.902 MB / 366.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.003659/0.141, allocations: 1.376 MB / 443.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.141, allocations: 8.031 kB / 443.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.1457, allocations: 0.6208 MB / 443.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.1465, allocations: 419.2 kB / 444.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.1465, allocations: 74.38 kB / 444.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1467, allocations: 92.38 kB / 444.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.1486, allocations: 0.994 MB / 445.3 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.1486, allocations: 4 kB / 445.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.1487, allocations: 40 kB / 445.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.1487, allocations: 24 kB / 445.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.1504, allocations: 0.9292 MB / 446.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2775/0.4279, allocations: 3.424 MB / 449.7 MB, free: 22.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.4309, allocations: 2.182 MB / 451.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.4316, allocations: 258.5 kB / 452.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.4317, allocations: 184.2 kB / 452.3 MB, free: 20.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4317, allocations: 46.81 kB / 452.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.625e-06/0.4317, allocations: 0 / 452.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001356/0.4331, allocations: 0.7192 MB / 453.1 MB, free: 20.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.4331, allocations: 123.2 kB / 453.2 MB, free: 20.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.4334, allocations: 272.1 kB / 453.5 MB, free: 19.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.4334, allocations: 37.89 kB / 453.5 MB, free: 19.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.4335, allocations: 390.3 kB / 453.9 MB, free: 19.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4337, allocations: 236.8 kB / 454.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.4339, allocations: 136.3 kB / 454.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.4339, allocations: 348 kB / 454.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.4343, allocations: 225.1 kB / 454.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.4348, allocations: 439 kB / 455.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.4357, allocations: 0.7008 MB / 455.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4357, allocations: 2.25 kB / 455.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001198/0.4369, allocations: 0.7534 MB / 456.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4369, allocations: 8.406 kB / 456.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4369, allocations: 9.75 kB / 456.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.437, allocations: 12.08 kB / 456.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.4377, allocations: 191.5 kB / 456.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.4377, allocations: 22.02 kB / 456.9 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.4381, allocations: 78.84 kB / 457 MB, free: 17.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.4381, allocations: 33.03 kB / 457 MB, free: 17.9 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.0002298/0.4384, allocations: 227.8 kB / 457.3 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4385, allocations: 40.59 kB / 457.3 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4397, allocations: 0.6464 MB / 458 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.4397, allocations: 7.594 kB / 458 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4397, allocations: 6.531 kB / 458 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4397, allocations: 5.062 kB / 458 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.4419, allocations: 1.489 MB / 459.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4419, allocations: 0 / 459.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.4425, allocations: 143 kB / 459.6 MB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4425, allocations: 2.281 kB / 459.6 MB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.4425, allocations: 19.8 kB / 459.6 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4426, allocations: 3.281 kB / 459.6 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4426, allocations: 1.219 kB / 459.6 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.444, allocations: 1.131 MB / 460.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.4441, allocations: 126.8 kB / 460.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.4442, allocations: 14.59 kB / 460.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.4445, allocations: 19.59 kB / 460.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.4446, allocations: 49.72 kB / 461 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.4447, allocations: 21.16 kB / 461 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.4448, allocations: 183.8 kB / 461.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4448, allocations: 3.75 kB / 461.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007597/0.4456, allocations: 227.9 kB / 461.4 MB, free: 15.61 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.0002269/0.4458, allocations: 154.6 kB / 461.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4468, allocations: 0.5691 MB / 462.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4468, allocations: 4.25 kB / 462.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.4473, allocations: 273.4 kB / 462.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.4478, allocations: 42.34 kB / 462.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4496, allocations: 1.251 MB / 463.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4499, allocations: 0.899 MB / 464.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.4502, allocations: 76.62 kB / 464.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4503, allocations: 51.62 kB / 464.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4503, allocations: 0 / 464.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01121/0.4615, allocations: 5.011 MB / 469.7 MB, free: 13.31 MB / 366.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 -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/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_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.790284647606313]