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.001908/0.001908, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.002227/0.002227, allocations: 168.5 kB / 23.96 MB, free: 4.148 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 1.436/1.436, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.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 1.463e-06/1.463e-06, allocations: 0 / 325.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.589e-05, allocations: 3.531 kB / 325.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005657/0.005683, allocations: 3.727 MB / 328.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.007918, allocations: 0.9271 MB / 329.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.008162, allocations: 12.69 kB / 329.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.008415, allocations: 93.23 kB / 329.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.008888, allocations: 201.8 kB / 330.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.009414, allocations: 160.4 kB / 330.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008799/0.01029, allocations: 0.7053 MB / 330.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.01064, allocations: 135.8 kB / 331 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.01132, allocations: 398.5 kB / 331.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.01171, allocations: 216.2 kB / 331.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.01182, allocations: 55.91 kB / 331.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.01197, allocations: 57.69 kB / 331.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.01211, allocations: 133.3 kB / 331.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.01239, allocations: 212.8 kB / 332.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.01327, allocations: 0.6604 MB / 332.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.01327, allocations: 0 / 332.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.01327, allocations: 1.125 kB / 332.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.01329, allocations: 0 / 332.8 MB, free: 11.53 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.001614/0.0149, allocations: 0.8029 MB / 333.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.01494, allocations: 13.88 kB / 333.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.01525, allocations: 80.61 kB / 333.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.0158, allocations: 316.7 kB / 334 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.01584, allocations: 42.22 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.01593, allocations: 51.98 kB / 334.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.01692, allocations: 0.618 MB / 334.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01694, allocations: 4.188 kB / 334.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.01699, allocations: 21.31 kB / 334.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.01702, allocations: 19.83 kB / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/0.01773, allocations: 333.7 kB / 335 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.02054, allocations: 1.445 MB / 336.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.02104, allocations: 249.9 kB / 336.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.0213, allocations: 134.8 kB / 336.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.02132, allocations: 3.75 kB / 336.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.02136, allocations: 46.14 kB / 336.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/0.02136, allocations: 0 / 336.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002011/0.02337, allocations: 0.8033 MB / 337.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.02344, allocations: 85.58 kB / 337.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.0239, allocations: 378.3 kB / 338.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.02393, allocations: 31.92 kB / 338.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.02418, allocations: 299.6 kB / 338.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.02428, allocations: 116.4 kB / 338.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02441, allocations: 76.64 kB / 338.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.02459, allocations: 348.8 kB / 339 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.02481, allocations: 103 kB / 339.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.02514, allocations: 195.2 kB / 339.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.02569, allocations: 312 kB / 339.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.02569, allocations: 7.938 kB / 339.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008995/0.02659, allocations: 438.6 kB / 340.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.02661, allocations: 12.25 kB / 340.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02662, allocations: 8 kB / 340.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.02697, allocations: 81.59 kB / 340.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.02732, allocations: 79.89 kB / 340.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.03019, allocations: 2.867 MB / 343.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.03056, allocations: 23.89 kB / 343.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.0306, allocations: 24.2 kB / 343.1 MB, free: 2.434 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.0003246/0.03093, allocations: 165.7 kB / 343.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.03108, allocations: 39.77 kB / 343.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.03118, allocations: 39.3 kB / 343.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.03119, allocations: 4 kB / 343.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.0312, allocations: 4 kB / 343.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.03121, allocations: 3.984 kB / 343.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.03335, allocations: 0.8034 MB / 344.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.03336, allocations: 4 kB / 344.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.03366, allocations: 43.97 kB / 344.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.03411, allocations: 81.58 kB / 344.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.03414, allocations: 8 kB / 344.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.03804, allocations: 2.863 MB / 347.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.03804, allocations: 0 / 347.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.03964, allocations: 0.6107 MB / 347.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.03982, allocations: 35.73 kB / 347.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.0399, allocations: 8 kB / 347.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/0.04048, allocations: 32.03 kB / 347.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.04057, allocations: 31.89 kB / 347.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.0406, allocations: 8 kB / 347.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004843/0.04109, allocations: 267.2 kB / 348.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04109, allocations: 0 / 348.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001122/0.04221, allocations: 120 kB / 348.3 MB, free: 13 MB / 318.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.0001921/0.0424, allocations: 107.2 kB / 348.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.04374, allocations: 0.4966 MB / 348.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.04375, allocations: 0.625 kB / 348.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009199/0.04467, allocations: 377.1 kB / 349.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.04547, allocations: 57.48 kB / 349.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.04798, allocations: 0.8865 MB / 350.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.04835, allocations: 242.2 kB / 350.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.04853, allocations: 43.25 kB / 350.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.04862, allocations: 32.5 kB / 350.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.04862, allocations: 0 / 350.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Templates: time 0.01569/0.06431, allocations: 4.448 MB / 355 MB, free: 6.27 MB / 318.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 -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/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_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: 4.932939853519201]