Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001952/0.001952, allocations: 111.7 kB / 19.17 MB, free: 3.926 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.002524/0.002524, allocations: 209 kB / 22.12 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.568/1.568, allocations: 230.4 MB / 255.4 MB, free: 15.03 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.81 kB / 374.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 53.31 MB / 428.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.2321/0.3382, allocations: 5.635 MB / 433.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3415, allocations: 1.891 MB / 435.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.342, allocations: 19.91 kB / 435.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.3455, allocations: 1.629 MB / 437.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3479, allocations: 0.5992 MB / 437.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3489, allocations: 411.4 kB / 438.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3503, allocations: 0.8027 MB / 439 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.3514, allocations: 0.66 MB / 439.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.352, allocations: 360.2 kB / 440 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.3525, allocations: 486.9 kB / 440.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3527, allocations: 78 kB / 440.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.3533, allocations: 254.2 kB / 440.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3534, allocations: 184.5 kB / 441 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.3538, allocations: 420.1 kB / 441.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3558, allocations: 1.182 MB / 442.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3558, allocations: 1.125 kB / 442.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3558, allocations: 0 / 442.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.3558, allocations: 0 / 442.6 MB, free: 4.977 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.003694/0.3595, allocations: 1.366 MB / 444 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.3596, allocations: 12.72 kB / 444 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.3643, allocations: 0.6261 MB / 444.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.3652, allocations: 421.1 kB / 445 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.3652, allocations: 73.67 kB / 445.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3654, allocations: 94.62 kB / 445.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3672, allocations: 0.992 MB / 446.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.3673, allocations: 1.125 kB / 446.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.3674, allocations: 44.28 kB / 446.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.3674, allocations: 27.77 kB / 446.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3692, allocations: 0.9315 MB / 447.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.3744, allocations: 3.435 MB / 450.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.3772, allocations: 2.184 MB / 452.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.3777, allocations: 251.5 kB / 453.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.378, allocations: 181.1 kB / 453.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.378, allocations: 46.75 kB / 453.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.416e-06/0.378, allocations: 0 / 453.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001592/0.3796, allocations: 0.7233 MB / 454 MB, free: 13.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.3797, allocations: 115 kB / 454.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.3801, allocations: 271.9 kB / 454.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3801, allocations: 36.77 kB / 454.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.3805, allocations: 398.9 kB / 454.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.3807, allocations: 232.8 kB / 455 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.381, allocations: 138 kB / 455.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.3812, allocations: 347.8 kB / 455.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.3816, allocations: 221.3 kB / 455.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.3823, allocations: 446.8 kB / 456.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3834, allocations: 0.6963 MB / 456.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3834, allocations: 2.688 kB / 456.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001417/0.3848, allocations: 0.7569 MB / 457.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3848, allocations: 11.2 kB / 457.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3848, allocations: 6.75 kB / 457.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.3849, allocations: 11 kB / 457.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.3856, allocations: 188.8 kB / 457.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.3856, allocations: 22.64 kB / 457.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.386, allocations: 77.08 kB / 457.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.3861, allocations: 37.03 kB / 458 MB, free: 11.23 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.0003537/0.3864, allocations: 228.1 kB / 458.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3865, allocations: 42.73 kB / 458.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.3878, allocations: 0.647 MB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.3878, allocations: 7.219 kB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3878, allocations: 1.562 kB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3878, allocations: 4.625 kB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.3905, allocations: 1.476 MB / 460.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3905, allocations: 7.516 kB / 460.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.3911, allocations: 139.9 kB / 460.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.3911, allocations: 3.469 kB / 460.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.3912, allocations: 16.34 kB / 460.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.3912, allocations: 6.188 kB / 460.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3912, allocations: 1.125 kB / 460.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.393, allocations: 1.129 MB / 461.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.3932, allocations: 122.7 kB / 461.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.3933, allocations: 16.92 kB / 461.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.3936, allocations: 35.64 kB / 461.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3937, allocations: 46.78 kB / 461.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.3938, allocations: 21.73 kB / 461.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.394, allocations: 184.1 kB / 462.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 0 / 462.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001002/0.395, allocations: 231 kB / 462.3 MB, free: 8.883 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.0003264/0.3954, allocations: 149.6 kB / 462.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3967, allocations: 0.5733 MB / 463 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3967, allocations: 0 / 463 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.3971, allocations: 269.3 kB / 463.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.3977, allocations: 42.91 kB / 463.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4001, allocations: 1.292 MB / 464.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.4007, allocations: 0.8982 MB / 465.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4009, allocations: 61.22 kB / 465.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4009, allocations: 0 / 465.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of Templates: time 0.01323/0.4142, allocations: 7.585 MB / 473.2 MB, free: 2.668 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.394652702030726]