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.001369/0.001369, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001131/0.001131, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 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.9169/0.9169, allocations: 177 MB / 205.2 MB, free: 5.012 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.052e-06/1.052e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.892e-05, allocations: 2.312 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003358/0.003377, allocations: 4.012 MB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.004781, allocations: 0.9926 MB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.004982, allocations: 11.94 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.005154, allocations: 87.08 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.005425, allocations: 198.2 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.005741, allocations: 159.7 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.006215, allocations: 0.7041 MB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.006399, allocations: 144.3 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.006763, allocations: 403 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.006993, allocations: 219.3 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.007048, allocations: 56 kB / 280.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.007126, allocations: 56 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.007194, allocations: 135.4 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.007323, allocations: 215.4 kB / 280.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.00768, allocations: 454.2 kB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007683, allocations: 0 / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007684, allocations: 0 / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007689, allocations: 0 / 281.2 MB, free: 9.152 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.0007711/0.00846, allocations: 0.7721 MB / 282 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.008493, allocations: 15.98 kB / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.008677, allocations: 100.8 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.008948, allocations: 257.4 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.008971, allocations: 41.38 kB / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.009036, allocations: 52.38 kB / 282.4 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.009392, allocations: 0.5143 MB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.009402, allocations: 4.125 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.009427, allocations: 24.38 kB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.009437, allocations: 15.94 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.009572, allocations: 116 kB / 283.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.0108, allocations: 1.224 MB / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01099, allocations: 180.9 kB / 284.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.01106, allocations: 85.48 kB / 284.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.01108, allocations: 8 kB / 284.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.0111, allocations: 42.56 kB / 284.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.0111, allocations: 0 / 284.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007215/0.01182, allocations: 481.7 kB / 285.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01185, allocations: 85.05 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01203, allocations: 339.2 kB / 285.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.01205, allocations: 33.7 kB / 285.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01215, allocations: 264.7 kB / 285.8 MB, free: 4.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.0122, allocations: 115 kB / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.01227, allocations: 78.11 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.01235, allocations: 350.7 kB / 286.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.01239, allocations: 36.98 kB / 286.4 MB, free: 3.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.01248, allocations: 131.2 kB / 286.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01262, allocations: 207.3 kB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01263, allocations: 0 / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002827/0.01291, allocations: 277.5 kB / 287 MB, free: 3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01292, allocations: 8 kB / 287 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01293, allocations: 4 kB / 287 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.01319, allocations: 97.89 kB / 287.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01334, allocations: 75.84 kB / 287.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.01459, allocations: 2.593 MB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01472, allocations: 24.14 kB / 289.8 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01473, allocations: 11.94 kB / 289.8 MB, free: 16 kB / 266.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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0973/0.112, allocations: 130.1 kB / 289.9 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.1121, allocations: 41.34 kB / 290 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1122, allocations: 39.89 kB / 290 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1122, allocations: 2.688 kB / 290 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1122, allocations: 3.266 kB / 290 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1122, allocations: 2.297 kB / 290 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007514/0.1129, allocations: 0.5616 MB / 290.6 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1129, allocations: 1.938 kB / 290.6 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.113, allocations: 45.73 kB / 290.6 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.1133, allocations: 99.89 kB / 290.7 MB, free: 25.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1133, allocations: 8 kB / 290.7 MB, free: 25.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009634/0.1143, allocations: 2.6 MB / 293.3 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1143, allocations: 2.469 kB / 293.3 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.1147, allocations: 432.7 kB / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1147, allocations: 31.95 kB / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1147, allocations: 7.266 kB / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1149, allocations: 30.22 kB / 293.8 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1149, allocations: 29.5 kB / 293.9 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.115, allocations: 10.52 kB / 293.9 MB, free: 22.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1151, allocations: 140.3 kB / 294 MB, free: 22.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1151, allocations: 0 / 294 MB, free: 22.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000377/0.1155, allocations: 116 kB / 294.1 MB, free: 22.42 MB / 266.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.0001044/0.1156, allocations: 93.39 kB / 294.2 MB, free: 22.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.1159, allocations: 418.6 kB / 294.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.116, allocations: 5.062 kB / 294.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1162, allocations: 350.2 kB / 295 MB, free: 21.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1164, allocations: 52.06 kB / 295 MB, free: 21.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1175, allocations: 0.8488 MB / 295.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.1176, allocations: 115 kB / 296 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1177, allocations: 42.11 kB / 296 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1178, allocations: 120.8 kB / 296.1 MB, free: 21.33 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1178, allocations: 0 / 296.1 MB, free: 21.33 MB / 266.7 MB Notification: Performance of Templates: time 0.007626/0.1255, allocations: 4.746 MB / 300.9 MB, free: 20.68 MB / 266.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: 2.990397505927831]