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.001393/0.001393, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001467/0.001467, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.05 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+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.001578/0.001578, allocations: 51.92 kB / 373.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.0965, allocations: 53.34 MB / 426.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.2056/0.3021, allocations: 5.629 MB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.305, allocations: 1.892 MB / 434.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.3053, allocations: 23.81 kB / 434.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.3084, allocations: 1.613 MB / 436 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.3098, allocations: 0.6059 MB / 436.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.3106, allocations: 417 kB / 437 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.3114, allocations: 0.7966 MB / 437.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009155/0.3123, allocations: 0.6593 MB / 438.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.3127, allocations: 372 kB / 438.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.3132, allocations: 494.1 kB / 439.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3133, allocations: 78.09 kB / 439.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.3139, allocations: 246 kB / 439.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.314, allocations: 188.4 kB / 439.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.3143, allocations: 420 kB / 440.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.3156, allocations: 1.175 MB / 441.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3156, allocations: 0 / 441.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3156, allocations: 6.328 kB / 441.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.3156, allocations: 0 / 441.4 MB, free: 4.754 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.003283/0.3189, allocations: 1.368 MB / 442.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.319, allocations: 10.58 kB / 442.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.3239, allocations: 0.6204 MB / 443.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.3245, allocations: 421 kB / 443.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.3246, allocations: 72.25 kB / 443.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3247, allocations: 95.95 kB / 444 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3263, allocations: 0.9954 MB / 444.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3264, allocations: 2 kB / 444.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.3265, allocations: 40.75 kB / 445 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.3265, allocations: 22.84 kB / 445 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.3281, allocations: 0.9321 MB / 445.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.3323, allocations: 3.435 MB / 449.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.335, allocations: 2.188 MB / 451.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.3355, allocations: 257.7 kB / 451.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.3357, allocations: 183.3 kB / 452 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3357, allocations: 44.38 kB / 452 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/0.3357, allocations: 0 / 452 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001536/0.3372, allocations: 0.7266 MB / 452.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.3373, allocations: 111.6 kB / 452.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.3376, allocations: 275.5 kB / 453.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.3377, allocations: 36.45 kB / 453.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.338, allocations: 394.6 kB / 453.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3382, allocations: 234 kB / 453.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3384, allocations: 137.3 kB / 453.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3386, allocations: 346.7 kB / 454.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.3391, allocations: 223.1 kB / 454.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.3397, allocations: 441.4 kB / 454.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3408, allocations: 0.7011 MB / 455.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3408, allocations: 2.75 kB / 455.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001369/0.3422, allocations: 0.7515 MB / 456.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3422, allocations: 13.84 kB / 456.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3422, allocations: 6.047 kB / 456.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.3423, allocations: 14.94 kB / 456.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.343, allocations: 193.2 kB / 456.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.343, allocations: 16.22 kB / 456.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.3435, allocations: 77.84 kB / 456.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.3436, allocations: 32.84 kB / 456.7 MB, free: 11.01 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.0003173/0.3439, allocations: 224 kB / 456.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.344, allocations: 46.83 kB / 457 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3453, allocations: 0.6414 MB / 457.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3453, allocations: 7.906 kB / 457.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3453, allocations: 1.125 kB / 457.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3453, allocations: 4.875 kB / 457.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.3479, allocations: 1.49 MB / 459.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.3479, allocations: 1.891 kB / 459.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.3485, allocations: 140.2 kB / 459.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3485, allocations: 2.25 kB / 459.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.3486, allocations: 16.98 kB / 459.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3486, allocations: 6.594 kB / 459.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3486, allocations: 1.344 kB / 459.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.3503, allocations: 1.128 MB / 460.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3504, allocations: 124.5 kB / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.3505, allocations: 15.38 kB / 460.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.3508, allocations: 29.03 kB / 460.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3509, allocations: 42.06 kB / 460.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.351, allocations: 23.98 kB / 460.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3512, allocations: 181.1 kB / 460.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3512, allocations: 1.156 kB / 460.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008423/0.352, allocations: 230 kB / 461.1 MB, free: 8.68 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.000302/0.3523, allocations: 156.2 kB / 461.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3536, allocations: 0.5699 MB / 461.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3536, allocations: 1.75 kB / 461.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.354, allocations: 273.4 kB / 462 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3546, allocations: 44.66 kB / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3568, allocations: 1.257 MB / 463.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.3574, allocations: 0.9003 MB / 464.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.3577, allocations: 82.14 kB / 464.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3579, allocations: 51.55 kB / 464.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3579, allocations: 3.938 kB / 464.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of Templates: time 0.01129/0.3691, allocations: 5.012 MB / 469.4 MB, free: 4.043 MB / 366.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 -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.7826545760035515]