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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=100000,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=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001418, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006181/0.1315, allocations: 4.113 MB / 361.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1338, allocations: 0.958 MB / 362.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.1342, allocations: 8 kB / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.1347, allocations: 91.08 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.1353, allocations: 186.4 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.1359, allocations: 151.7 kB / 363 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009192/0.1368, allocations: 0.6771 MB / 363.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.1372, allocations: 203 kB / 363.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.1377, allocations: 263 kB / 364.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.1381, allocations: 294.7 kB / 364.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-05/0.1382, allocations: 52 kB / 364.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1383, allocations: 64 kB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1385, allocations: 127.5 kB / 364.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.1388, allocations: 310.4 kB / 365 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.1397, allocations: 0.6385 MB / 365.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1397, allocations: 0 / 365.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1397, allocations: 0 / 365.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1397, allocations: 0 / 365.6 MB, free: 5.879 MB / 302.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.001708/0.1415, allocations: 0.8689 MB / 366.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1415, allocations: 15.97 kB / 366.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.1418, allocations: 80.17 kB / 366.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.1424, allocations: 371.6 kB / 367 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.1424, allocations: 37.38 kB / 367 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.1425, allocations: 48.38 kB / 367 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.1434, allocations: 491.5 kB / 367.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1435, allocations: 4 kB / 367.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.1435, allocations: 20 kB / 367.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1436, allocations: 12 kB / 367.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.1442, allocations: 324.3 kB / 367.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.1472, allocations: 1.705 MB / 369.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.1477, allocations: 261 kB / 369.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.148, allocations: 156.1 kB / 370 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.148, allocations: 4.312 kB / 370 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1481, allocations: 34.56 kB / 370 MB, free: 1.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.1481, allocations: 0 / 370 MB, free: 1.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002106/0.1502, allocations: 0.9611 MB / 371 MB, free: 220 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.1503, allocations: 85.05 kB / 371.1 MB, free: 116 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1953/0.3456, allocations: 382.4 kB / 371.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.3458, allocations: 31.11 kB / 371.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.3461, allocations: 288.3 kB / 371.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3462, allocations: 119 kB / 371.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3464, allocations: 70.67 kB / 371.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3465, allocations: 356 kB / 372.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.3468, allocations: 100.6 kB / 372.4 MB, free: 19.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3472, allocations: 192.4 kB / 372.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.3478, allocations: 313 kB / 372.9 MB, free: 19.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3478, allocations: 1.125 kB / 372.9 MB, free: 19.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001179/0.349, allocations: 444.3 kB / 373.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.349, allocations: 6.656 kB / 373.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3491, allocations: 3.75 kB / 373.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.3495, allocations: 88.34 kB / 373.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.35, allocations: 80 kB / 373.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.3528, allocations: 3.116 MB / 376.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.3532, allocations: 21.16 kB / 376.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.3533, allocations: 16 kB / 376.6 MB, free: 16.2 MB / 302.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.0003253/0.3536, allocations: 164.6 kB / 376.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.3538, allocations: 46.88 kB / 376.8 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.3539, allocations: 45.55 kB / 376.9 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3539, allocations: 14.12 kB / 376.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.3539, allocations: 1.688 kB / 376.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3539, allocations: 6.797 kB / 376.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.3559, allocations: 0.9325 MB / 377.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3559, allocations: 0.9375 kB / 377.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3561, allocations: 41.84 kB / 377.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.3564, allocations: 85.48 kB / 378 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3565, allocations: 7.422 kB / 378 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.3589, allocations: 3.125 MB / 381.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3589, allocations: 4.594 kB / 381.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.36, allocations: 0.6108 MB / 381.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3601, allocations: 116.5 kB / 381.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.3602, allocations: 7.359 kB / 381.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3605, allocations: 31.64 kB / 381.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3606, allocations: 23.77 kB / 381.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3607, allocations: 12.09 kB / 381.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.3611, allocations: 273.8 kB / 382.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3611, allocations: 0 / 382.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008301/0.362, allocations: 119.9 kB / 382.3 MB, free: 11.63 MB / 302.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.0002153/0.3622, allocations: 111.9 kB / 382.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3634, allocations: 0.5308 MB / 382.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3634, allocations: 3.75 kB / 382.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.364, allocations: 388.3 kB / 383.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.3646, allocations: 62.78 kB / 383.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3668, allocations: 0.9619 MB / 384.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.3673, allocations: 0.8423 MB / 385.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.3675, allocations: 44.88 kB / 385.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.3676, allocations: 29.73 kB / 385.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3676, allocations: 4 kB / 385.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01393/0.3816, allocations: 4.677 MB / 389.9 MB, free: 9.035 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches