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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001476/0.001476, allocations: 207 kB / 23.73 MB, free: 4.379 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001597/0.001597, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2591, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007062/0.2662, allocations: 5.009 MB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.27, allocations: 1.775 MB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.2703, allocations: 19.94 kB / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.274, allocations: 1.489 MB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.2756, allocations: 0.5904 MB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.2765, allocations: 397.9 kB / 440.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.2775, allocations: 0.7977 MB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2787, allocations: 0.7588 MB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.2792, allocations: 370.6 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.2798, allocations: 494.1 kB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2799, allocations: 80 kB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.2804, allocations: 235.9 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2805, allocations: 191.3 kB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.2809, allocations: 334.4 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2823, allocations: 1.185 MB / 445.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2823, allocations: 0 / 445.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2823, allocations: 0 / 445.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2823, allocations: 4 kB / 445.3 MB, free: 8.938 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.003288/0.2856, allocations: 1.297 MB / 446.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2857, allocations: 11.97 kB / 446.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.2903, allocations: 0.6209 MB / 447.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.2911, allocations: 363.9 kB / 447.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.2912, allocations: 74.38 kB / 447.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.2914, allocations: 100.3 kB / 447.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.2933, allocations: 1.011 MB / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.2933, allocations: 0 / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.2934, allocations: 40 kB / 448.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.2934, allocations: 28 kB / 448.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.2951, allocations: 0.9252 MB / 449.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.2999, allocations: 2.792 MB / 452.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.3018, allocations: 0.7516 MB / 453.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.3023, allocations: 252.4 kB / 453.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.3024, allocations: 24.64 kB / 453.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3024, allocations: 43.2 kB / 453.6 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.345e-06/0.3024, allocations: 0 / 453.6 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001495/0.3039, allocations: 0.7319 MB / 454.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.304, allocations: 111.5 kB / 454.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3043, allocations: 264.7 kB / 454.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.3043, allocations: 37.7 kB / 454.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.3046, allocations: 388 kB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.3048, allocations: 238 kB / 455.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.305, allocations: 142.6 kB / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3052, allocations: 346.8 kB / 455.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3057, allocations: 226 kB / 456 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.3063, allocations: 440.1 kB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3074, allocations: 0.7007 MB / 457.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3074, allocations: 0 / 457.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001336/0.3088, allocations: 0.7549 MB / 457.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3088, allocations: 11.98 kB / 457.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3088, allocations: 4 kB / 457.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3088, allocations: 15.94 kB / 457.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.3095, allocations: 191.7 kB / 458.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.3096, allocations: 11.94 kB / 458.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.31, allocations: 79.62 kB / 458.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.31, allocations: 39.98 kB / 458.3 MB, free: 11.45 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.0003667/0.3104, allocations: 217.6 kB / 458.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3105, allocations: 43.72 kB / 458.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3118, allocations: 0.6423 MB / 459.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3118, allocations: 8 kB / 459.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3118, allocations: 0 / 459.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.3118, allocations: 11.92 kB / 459.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.3141, allocations: 1.261 MB / 460.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3141, allocations: 0 / 460.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.3147, allocations: 147.8 kB / 460.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.3147, allocations: 4 kB / 460.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.3148, allocations: 15.98 kB / 460.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3148, allocations: 4 kB / 460.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3148, allocations: 7.938 kB / 460.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3164, allocations: 1.12 MB / 461.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.3165, allocations: 43.66 kB / 461.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.3165, allocations: 16 kB / 461.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3169, allocations: 27.92 kB / 461.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.317, allocations: 48.5 kB / 461.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.317, allocations: 20.06 kB / 461.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3172, allocations: 176.5 kB / 462.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3172, allocations: 0 / 462.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007622/0.318, allocations: 227.3 kB / 462.3 MB, free: 7.355 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.0002499/0.3182, allocations: 155 kB / 462.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3193, allocations: 0.5766 MB / 463 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3193, allocations: 0 / 463 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.3197, allocations: 275.6 kB / 463.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.3202, allocations: 36.42 kB / 463.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.3224, allocations: 1.26 MB / 464.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3227, allocations: 311.7 kB / 464.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.323, allocations: 72.34 kB / 464.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.3232, allocations: 51.42 kB / 465 MB, free: 4.562 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3232, allocations: 0 / 465 MB, free: 4.562 MB / 366.1 MB Notification: Performance of Templates: time 0.01189/0.3351, allocations: 5.389 MB / 470.4 MB, free: 15.2 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/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.76763496408239]