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.00184/0.00184, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002173/0.002173, allocations: 216.4 kB / 24.48 MB, free: 3.941 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 2.174/2.174, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.00239/0.00239, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3156, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006668/0.3222, allocations: 3.703 MB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3246, allocations: 0.9346 MB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.3248, allocations: 11.94 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3252, allocations: 95.06 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.3257, allocations: 190.4 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.3262, allocations: 155.7 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008905/0.3271, allocations: 0.6771 MB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.3274, allocations: 147.4 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.3278, allocations: 275 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.3283, allocations: 294.6 kB / 438.8 MB, free: 184 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/0.3284, allocations: 56 kB / 438.9 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3286, allocations: 56 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3287, allocations: 131.5 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.3291, allocations: 258.8 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3301, allocations: 0.6525 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3301, allocations: 4 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3301, allocations: 0 / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3301, allocations: 0 / 440 MB, free: 15.03 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.001813/0.3319, allocations: 0.8047 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3319, allocations: 11.97 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.3323, allocations: 92.42 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.333, allocations: 318.1 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.3331, allocations: 37.38 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3332, allocations: 52.33 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3343, allocations: 0.6307 MB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3343, allocations: 0 / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.3344, allocations: 20 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.3344, allocations: 12 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.3353, allocations: 328.4 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.3385, allocations: 1.448 MB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.3391, allocations: 253.1 kB / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3394, allocations: 125.7 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3394, allocations: 11.94 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3395, allocations: 38.5 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.3395, allocations: 0 / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002298/0.3418, allocations: 0.8151 MB / 444.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.3418, allocations: 81.11 kB / 445 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.3424, allocations: 377.5 kB / 445.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.3424, allocations: 37.7 kB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.3426, allocations: 292.1 kB / 445.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3428, allocations: 122.9 kB / 445.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3429, allocations: 78.09 kB / 445.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3431, allocations: 354.7 kB / 446.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3434, allocations: 100.8 kB / 446.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.3438, allocations: 190.6 kB / 446.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.3444, allocations: 304.7 kB / 446.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3444, allocations: 3.938 kB / 446.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00114/0.3456, allocations: 449.4 kB / 447.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3456, allocations: 4 kB / 447.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3456, allocations: 4 kB / 447.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.346, allocations: 85.78 kB / 447.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.3465, allocations: 75.91 kB / 447.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.3497, allocations: 2.87 MB / 450.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3501, allocations: 19.94 kB / 450.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3501, allocations: 16 kB / 450.3 MB, free: 4.059 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.0002888/0.3504, allocations: 167.6 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3505, allocations: 47.72 kB / 450.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.3506, allocations: 51.3 kB / 450.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3507, allocations: 4 kB / 450.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3507, allocations: 0 / 450.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3507, allocations: 3.984 kB / 450.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3524, allocations: 0.7985 MB / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3524, allocations: 192 / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.3526, allocations: 55.97 kB / 451.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.353, allocations: 85.53 kB / 451.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.353, allocations: 4 kB / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.3562, allocations: 2.871 MB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3562, allocations: 3.984 kB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.3574, allocations: 0.607 MB / 455 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3575, allocations: 39.8 kB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.3576, allocations: 4 kB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.358, allocations: 31.97 kB / 455.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.3581, allocations: 23.95 kB / 455.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3582, allocations: 12 kB / 455.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.3585, allocations: 267.1 kB / 455.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3585, allocations: 0 / 455.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008439/0.3594, allocations: 116 kB / 455.5 MB, free: 14.6 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.0001739/0.3596, allocations: 115.1 kB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3607, allocations: 0.4976 MB / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3607, allocations: 0 / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.3615, allocations: 373.2 kB / 456.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.3622, allocations: 54.05 kB / 456.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.3644, allocations: 0.9666 MB / 457.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3647, allocations: 238.2 kB / 457.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.3649, allocations: 43.25 kB / 457.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.365, allocations: 31.44 kB / 457.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.365, allocations: 0 / 457.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01385/0.3789, allocations: 5.182 MB / 463 MB, free: 7.059 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/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: 7.4947846720024245]