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.0008362/0.0008362, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003289/0.003289, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8386/0.8386, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.033e-05, allocations: 2.281 kB / 325.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003171/0.003191, allocations: 3.73 MB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004264, allocations: 0.9305 MB / 330.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.004427, allocations: 11.94 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.004587, allocations: 95.02 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.004807, allocations: 194.3 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.005106, allocations: 167.7 kB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.005552, allocations: 0.7 MB / 331.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.005758, allocations: 143.7 kB / 331.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.00609, allocations: 395 kB / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006287, allocations: 211.3 kB / 332.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.006336, allocations: 56 kB / 332.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.006414, allocations: 67.92 kB / 332.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.006472, allocations: 123.5 kB / 332.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.006595, allocations: 223.4 kB / 332.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.007031, allocations: 0.6502 MB / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007033, allocations: 0 / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007034, allocations: 0 / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.007039, allocations: 4 kB / 333.5 MB, free: 7.543 MB / 298.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.0008653/0.007905, allocations: 0.8076 MB / 334.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.007936, allocations: 8.031 kB / 334.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.0081, allocations: 84.53 kB / 334.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.008438, allocations: 321.3 kB / 334.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.008463, allocations: 37.38 kB / 334.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.00851, allocations: 48.38 kB / 334.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.009031, allocations: 0.6308 MB / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.009043, allocations: 192 / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.009075, allocations: 20.36 kB / 335.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.009086, allocations: 15.94 kB / 335.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.009453, allocations: 332.4 kB / 335.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01084, allocations: 1.449 MB / 337.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.01113, allocations: 253 kB / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.01126, allocations: 137.6 kB / 337.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01128, allocations: 4 kB / 337.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.0113, allocations: 38.56 kB / 337.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.0113, allocations: 0 / 337.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001073/0.01238, allocations: 0.8195 MB / 338.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.01241, allocations: 81.11 kB / 338.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.01266, allocations: 381.5 kB / 339 MB, free: 1.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.01268, allocations: 29.7 kB / 339 MB, free: 1.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.0128, allocations: 292.1 kB / 339.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.01286, allocations: 119 kB / 339.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.01293, allocations: 78.14 kB / 339.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.01302, allocations: 346.8 kB / 339.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.01315, allocations: 101 kB / 339.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.0133, allocations: 203.2 kB / 340.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.01359, allocations: 302 kB / 340.4 MB, free: 296 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01359, allocations: 0 / 340.4 MB, free: 296 kB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004687/0.01406, allocations: 452.8 kB / 340.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01407, allocations: 4 kB / 340.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01408, allocations: 4 kB / 340.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.01427, allocations: 81.59 kB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01444, allocations: 87.86 kB / 341 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.0159, allocations: 2.859 MB / 343.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01602, allocations: 31.94 kB / 343.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01604, allocations: 16.19 kB / 343.9 MB, free: 12.55 MB / 314.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.0001209/0.01616, allocations: 161.7 kB / 344.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.0162, allocations: 47.77 kB / 344.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01624, allocations: 39.3 kB / 344.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01624, allocations: 4 kB / 344.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01624, allocations: 0 / 344.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01625, allocations: 3.984 kB / 344.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.01698, allocations: 0.8073 MB / 345 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01698, allocations: 0 / 345 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.01707, allocations: 51.91 kB / 345 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.01722, allocations: 77.64 kB / 345.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01723, allocations: 8 kB / 345.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.01856, allocations: 2.863 MB / 348 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01856, allocations: 0 / 348 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.01911, allocations: 0.6056 MB / 348.6 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.01915, allocations: 43.67 kB / 348.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01917, allocations: 16 kB / 348.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.01932, allocations: 27.97 kB / 348.7 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.01938, allocations: 23.95 kB / 348.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01939, allocations: 12 kB / 348.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.01958, allocations: 263.2 kB / 349 MB, free: 7.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01958, allocations: 0 / 349 MB, free: 7.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000348/0.01992, allocations: 116 kB / 349.1 MB, free: 7.121 MB / 314.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.0001313/0.02006, allocations: 115.2 kB / 349.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.02064, allocations: 0.4904 MB / 349.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02065, allocations: 4.062 kB / 349.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.02098, allocations: 381 kB / 350.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.02131, allocations: 49.36 kB / 350.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02233, allocations: 0.9127 MB / 351 MB, free: 5.074 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.02247, allocations: 234.2 kB / 351.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.02253, allocations: 40.42 kB / 351.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02253, allocations: 0 / 351.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of Templates: time 0.006419/0.02895, allocations: 9.09 MB / 360.4 MB, free: 11.69 MB / 330.7 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.973309386521578]