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.001759/0.001759, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002188/0.002188, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.00213/0.00213, allocations: 51.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006906/0.3025, allocations: 5.013 MB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.3062, allocations: 1.764 MB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.3065, allocations: 20 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.3101, allocations: 1.5 MB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3117, allocations: 0.5866 MB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.3126, allocations: 389.8 kB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.3136, allocations: 0.8016 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.3147, allocations: 0.7393 MB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/0.3152, allocations: 366.6 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.3158, allocations: 438.1 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3159, allocations: 76 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3164, allocations: 231.9 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3166, allocations: 187.3 kB / 444.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.3169, allocations: 342.4 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3182, allocations: 1.186 MB / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3182, allocations: 0 / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3182, allocations: 0 / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3183, allocations: 0 / 445.9 MB, free: 9.082 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.003281/0.3215, allocations: 1.297 MB / 447.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3216, allocations: 12.03 kB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.3261, allocations: 0.6208 MB / 447.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.3268, allocations: 368 kB / 448.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.3269, allocations: 70.38 kB / 448.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.327, allocations: 96.38 kB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3288, allocations: 1.019 MB / 449.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.3288, allocations: 0 / 449.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.3289, allocations: 40 kB / 449.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.329, allocations: 24 kB / 449.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.3306, allocations: 0.9213 MB / 450.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.3351, allocations: 2.792 MB / 453.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.337, allocations: 0.7555 MB / 453.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.3375, allocations: 248.5 kB / 454.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.3376, allocations: 32.62 kB / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3376, allocations: 39.22 kB / 454.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.535e-06/0.3376, allocations: 0 / 454.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001473/0.3391, allocations: 0.7321 MB / 455 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.3392, allocations: 115.5 kB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3394, allocations: 264.5 kB / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.3395, allocations: 37.7 kB / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.3398, allocations: 392 kB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3399, allocations: 234 kB / 456 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3402, allocations: 142.6 kB / 456.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3403, allocations: 346.8 kB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.3408, allocations: 217.9 kB / 456.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.3414, allocations: 452.1 kB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3425, allocations: 0.6969 MB / 457.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3425, allocations: 0 / 457.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001345/0.3438, allocations: 0.7551 MB / 458.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3438, allocations: 8 kB / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3438, allocations: 4 kB / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3439, allocations: 15.94 kB / 458.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.3446, allocations: 195.7 kB / 458.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3446, allocations: 11.94 kB / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.345, allocations: 79.44 kB / 458.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.3451, allocations: 36 kB / 458.9 MB, free: 11.59 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.0002962/0.3454, allocations: 217.6 kB / 459.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3455, allocations: 47.7 kB / 459.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.3468, allocations: 0.6423 MB / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3468, allocations: 8 kB / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3468, allocations: 0 / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.3468, allocations: 7.984 kB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.3491, allocations: 1.265 MB / 461.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3491, allocations: 3.938 kB / 461.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.3497, allocations: 139.8 kB / 461.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.3497, allocations: 7.984 kB / 461.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.3498, allocations: 20 kB / 461.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/0.3498, allocations: 7.984 kB / 461.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3498, allocations: 0 / 461.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.3515, allocations: 1.124 MB / 462.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.3516, allocations: 43.64 kB / 462.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.3516, allocations: 15.98 kB / 462.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.352, allocations: 16 kB / 462.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/0.3521, allocations: 56.5 kB / 462.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.3521, allocations: 23.98 kB / 462.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3523, allocations: 168.5 kB / 462.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 4.062 kB / 462.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007742/0.3531, allocations: 235.3 kB / 463 MB, free: 7.484 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.0002609/0.3533, allocations: 147 kB / 463.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3544, allocations: 0.5692 MB / 463.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3544, allocations: 4.125 kB / 463.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.3549, allocations: 271.6 kB / 463.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.3555, allocations: 44.36 kB / 464 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3577, allocations: 1.289 MB / 465.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3581, allocations: 315.7 kB / 465.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.3583, allocations: 59.42 kB / 465.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3583, allocations: 0 / 465.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Templates: time 0.01218/0.3704, allocations: 7.795 MB / 473.4 MB, free: 12.93 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 -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: 7.319746881723404]