Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009448/0.0009448, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9549/0.9549, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.98e-05, allocations: 5.266 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005465/0.005495, allocations: 4.066 MB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.00804, allocations: 0.9423 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.008364, allocations: 11.94 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.008638, allocations: 95.06 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.009094, allocations: 198.2 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.009656, allocations: 159.7 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009098/0.01057, allocations: 0.7002 MB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.0109, allocations: 139.7 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.01159, allocations: 407 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.01196, allocations: 215.3 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.01206, allocations: 56 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.01221, allocations: 64 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.993e-05/0.01231, allocations: 131.4 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.01255, allocations: 219.4 kB / 280.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.01323, allocations: 442.3 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.01323, allocations: 4 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01324, allocations: 0 / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.01325, allocations: 0 / 280.8 MB, free: 9.539 MB / 266.7 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.001476/0.01473, allocations: 0.9008 MB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.01478, allocations: 15.98 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.01514, allocations: 120.5 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01563, allocations: 320.2 kB / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.01566, allocations: 37.38 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.01575, allocations: 56.33 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.01652, allocations: 0.5422 MB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.01654, allocations: 4.172 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.01658, allocations: 24.38 kB / 282.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.0166, allocations: 15.94 kB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.01703, allocations: 190.7 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.01943, allocations: 1.567 MB / 284.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.01984, allocations: 224.7 kB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.01999, allocations: 99.58 kB / 284.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.02002, allocations: 4 kB / 284.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.02005, allocations: 49.27 kB / 284.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.02006, allocations: 0 / 284.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001518/0.02157, allocations: 0.701 MB / 285.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.02162, allocations: 81.11 kB / 285.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.02202, allocations: 410.6 kB / 286.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.02205, allocations: 29.7 kB / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.02225, allocations: 346.8 kB / 286.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.02233, allocations: 115 kB / 286.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.02245, allocations: 79.84 kB / 286.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.02261, allocations: 0.5157 MB / 287.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.02275, allocations: 52.97 kB / 287.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.02294, allocations: 181.1 kB / 287.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.02328, allocations: 268.1 kB / 287.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.02329, allocations: 0 / 287.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006445/0.02393, allocations: 379.5 kB / 288 MB, free: 1.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.02395, allocations: 4 kB / 288 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.02396, allocations: 4 kB / 288 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.02445, allocations: 107.6 kB / 288.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.02473, allocations: 79.91 kB / 288.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.02719, allocations: 3.854 MB / 292.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.02743, allocations: 19.89 kB / 292.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.02746, allocations: 16 kB / 292.1 MB, free: 13.47 MB / 282.7 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.0002083/0.02767, allocations: 184.4 kB / 292.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.02774, allocations: 51.77 kB / 292.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.02778, allocations: 47.28 kB / 292.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02779, allocations: 4 kB / 292.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.0278, allocations: 4.031 kB / 292.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.0278, allocations: 4 kB / 292.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.02862, allocations: 0.8232 MB / 293.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.02862, allocations: 4 kB / 293.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.02873, allocations: 43.91 kB / 293.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.029, allocations: 103.3 kB / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.02902, allocations: 11.98 kB / 293.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.03064, allocations: 3.862 MB / 297.2 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.03064, allocations: 4.156 kB / 297.2 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.03116, allocations: 0.593 MB / 297.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.03123, allocations: 51.56 kB / 297.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.03125, allocations: 4 kB / 297.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.03147, allocations: 27.98 kB / 297.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.03155, allocations: 27.95 kB / 297.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.03158, allocations: 15.98 kB / 298 MB, free: 7.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.03182, allocations: 275.1 kB / 298.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03182, allocations: 0 / 298.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007018/0.03252, allocations: 116 kB / 298.3 MB, free: 6.902 MB / 282.7 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.0001472/0.03267, allocations: 103.2 kB / 298.4 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007772/0.03345, allocations: 0.5489 MB / 299 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.03345, allocations: 0 / 299 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.03392, allocations: 477.9 kB / 299.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.03446, allocations: 70.08 kB / 299.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.03638, allocations: 0.8805 MB / 300.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.03649, allocations: 113.9 kB / 300.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.03665, allocations: 43.25 kB / 300.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.03673, allocations: 32.5 kB / 300.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.03673, allocations: 0 / 300.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Templates: time 0.09984/0.1366, allocations: 4.713 MB / 305.3 MB, free: 39.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1752805169671774]