Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001335/0.001335, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00139/0.00139, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2866, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005482/0.2921, allocations: 3.712 MB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.294, allocations: 0.9191 MB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.2944, allocations: 15.88 kB / 436.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.2947, allocations: 95.06 kB / 436.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.2952, allocations: 190.4 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2956, allocations: 163.7 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000713/0.2963, allocations: 0.6693 MB / 437.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2966, allocations: 143.4 kB / 437.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.297, allocations: 271 kB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.2974, allocations: 262.6 kB / 438 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.2975, allocations: 56 kB / 438.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2976, allocations: 60 kB / 438.1 MB, free: 160 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2977, allocations: 131.5 kB / 438.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.298, allocations: 250.8 kB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.2987, allocations: 0.6521 MB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2987, allocations: 0 / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2988, allocations: 0 / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2988, allocations: 0 / 439.2 MB, free: 15.13 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001507/0.3003, allocations: 0.8125 MB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3003, allocations: 8.031 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.3007, allocations: 88.48 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.3013, allocations: 314.2 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.3013, allocations: 37.38 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.3014, allocations: 52.33 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.3024, allocations: 0.6267 MB / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3024, allocations: 0 / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.3024, allocations: 20 kB / 441.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3025, allocations: 12 kB / 441.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.3031, allocations: 336.4 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.3058, allocations: 1.448 MB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.3063, allocations: 249.1 kB / 443.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3065, allocations: 132.8 kB / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3065, allocations: 4 kB / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3066, allocations: 42.5 kB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.3066, allocations: 3.938 kB / 443.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001882/0.3085, allocations: 0.8152 MB / 444.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3085, allocations: 81.11 kB / 444.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.309, allocations: 377.5 kB / 444.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.309, allocations: 37.7 kB / 444.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.3092, allocations: 292.1 kB / 444.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3093, allocations: 123 kB / 445 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3094, allocations: 78.03 kB / 445.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3096, allocations: 354.7 kB / 445.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3098, allocations: 100.8 kB / 445.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.3101, allocations: 194.6 kB / 445.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.3107, allocations: 301.1 kB / 446 MB, free: 7.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3107, allocations: 0 / 446 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000905/0.3116, allocations: 453.3 kB / 446.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3116, allocations: 4 kB / 446.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3116, allocations: 4 kB / 446.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.312, allocations: 85.97 kB / 446.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.3123, allocations: 79.84 kB / 446.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.3152, allocations: 2.871 MB / 449.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3155, allocations: 23.94 kB / 449.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.3156, allocations: 12 kB / 449.6 MB, free: 4.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.3158, allocations: 169.9 kB / 449.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3159, allocations: 47.72 kB / 449.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.316, allocations: 43.3 kB / 449.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.316, allocations: 4 kB / 449.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.316, allocations: 0 / 449.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.316, allocations: 3.984 kB / 449.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3174, allocations: 0.7995 MB / 450.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3174, allocations: 7.938 kB / 450.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3176, allocations: 43.97 kB / 450.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.3179, allocations: 81.59 kB / 450.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3179, allocations: 4 kB / 450.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.3205, allocations: 2.87 MB / 453.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3205, allocations: 12.17 kB / 453.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3215, allocations: 0.6106 MB / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.3216, allocations: 35.8 kB / 454.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.3216, allocations: 4 kB / 454.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.322, allocations: 35.97 kB / 454.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.322, allocations: 23.95 kB / 454.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3221, allocations: 12 kB / 454.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3224, allocations: 259.2 kB / 454.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 454.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.323, allocations: 116 kB / 454.7 MB, free: 14.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.3231, allocations: 119.1 kB / 454.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.3241, allocations: 0.4936 MB / 455.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3241, allocations: 4 kB / 455.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.3247, allocations: 377.8 kB / 455.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.3252, allocations: 49.42 kB / 455.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3271, allocations: 0.966 MB / 456.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3274, allocations: 234.2 kB / 456.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.3276, allocations: 43.25 kB / 457 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.3276, allocations: 27.44 kB / 457 MB, free: 12.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3276, allocations: 4 kB / 457 MB, free: 12.28 MB / 366.1 MB Notification: Performance of Templates: time 0.01129/0.3389, allocations: 5.063 MB / 462.1 MB, free: 7.277 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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: 5.149040520191193]