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.001278/0.001278, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.004467/0.004467, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 1.004/1.004, allocations: 177 MB / 205.1 MB, free: 5.465 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.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.585e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003941/0.003957, allocations: 4.003 MB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005853, allocations: 0.9423 MB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.006152, allocations: 11.94 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.006376, allocations: 91.08 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.006733, allocations: 202.2 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.007148, allocations: 163.7 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.007785, allocations: 0.6963 MB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.008034, allocations: 139.7 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.00855, allocations: 399 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.008816, allocations: 219.3 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.008886, allocations: 52 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.008997, allocations: 60 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.009082, allocations: 135.4 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.009252, allocations: 215.4 kB / 280.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.009715, allocations: 454.3 kB / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.009719, allocations: 0 / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00972, allocations: 0 / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.009727, allocations: 0 / 281.1 MB, free: 9.391 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.001089/0.01082, allocations: 0.9084 MB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.01086, allocations: 15.97 kB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.01111, allocations: 124.5 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.01151, allocations: 312.2 kB / 282.4 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.01154, allocations: 41.38 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.01161, allocations: 56.33 kB / 282.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.01212, allocations: 0.5109 MB / 283.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01213, allocations: 4.125 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.01217, allocations: 20.38 kB / 283.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01218, allocations: 15.94 kB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.01241, allocations: 140 kB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.01423, allocations: 1.516 MB / 284.7 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.01451, allocations: 212.6 kB / 285 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.01461, allocations: 91.56 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.01462, allocations: 8 kB / 285.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.01465, allocations: 45.38 kB / 285.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.01466, allocations: 0 / 285.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009825/0.01564, allocations: 0.5338 MB / 285.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.01567, allocations: 81.11 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.01597, allocations: 406.3 kB / 286.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01599, allocations: 33.7 kB / 286.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.01616, allocations: 342.8 kB / 286.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.01624, allocations: 119 kB / 286.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.01634, allocations: 79.77 kB / 286.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.0165, allocations: 0.5234 MB / 287.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.01657, allocations: 36.97 kB / 287.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01671, allocations: 165.2 kB / 287.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.01695, allocations: 247.4 kB / 287.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01695, allocations: 0 / 287.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004659/0.01741, allocations: 339.7 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01743, allocations: 11.94 kB / 288 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01744, allocations: 4 kB / 288 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.01779, allocations: 103.5 kB / 288.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.018, allocations: 75.84 kB / 288.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.01996, allocations: 3.801 MB / 292 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.02013, allocations: 23.89 kB / 292 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02015, allocations: 16.16 kB / 292 MB, free: 13.79 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.02028, allocations: 180.5 kB / 292.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.02037, allocations: 55.7 kB / 292.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.02041, allocations: 43.23 kB / 292.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02042, allocations: 4 kB / 292.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.02042, allocations: 3.938 kB / 292.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02043, allocations: 4 kB / 292.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.02128, allocations: 0.7423 MB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.02128, allocations: 4 kB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.0214, allocations: 43.97 kB / 293.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.02172, allocations: 115.2 kB / 293.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02174, allocations: 8 kB / 293.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.0236, allocations: 3.817 MB / 297 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.0236, allocations: 3.938 kB / 297 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.02412, allocations: 0.5658 MB / 297.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.02417, allocations: 43.64 kB / 297.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.02421, allocations: 15.98 kB / 297.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.02442, allocations: 23.98 kB / 297.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.02448, allocations: 23.95 kB / 297.7 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.02449, allocations: 8 kB / 297.7 MB, free: 7.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.02466, allocations: 255 kB / 297.9 MB, free: 7.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02466, allocations: 4 kB / 297.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.02518, allocations: 123.9 kB / 298.1 MB, free: 7.418 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.0001165/0.0253, allocations: 107.2 kB / 298.2 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005196/0.02582, allocations: 0.5337 MB / 298.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02582, allocations: 0 / 298.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.02617, allocations: 462 kB / 299.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.02659, allocations: 49.42 kB / 299.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.02804, allocations: 0.8871 MB / 300.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.02814, allocations: 117.9 kB / 300.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.02828, allocations: 43.25 kB / 300.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.02846, allocations: 142.2 kB / 300.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of SimCode: time 9.71e-07/0.02847, allocations: 0 / 300.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of Templates: time 0.008881/0.03735, allocations: 4.807 MB / 305.2 MB, free: 240 kB / 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.1151540530845523]