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.001839/0.001839, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.00227/0.00227, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001947/0.001947, allocations: 63.91 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2693, allocations: 53.41 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005981/0.2753, allocations: 4.147 MB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2775, allocations: 0.9696 MB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.2778, allocations: 8 kB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.278, allocations: 99 kB / 437.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.2784, allocations: 186.4 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.2789, allocations: 155.7 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.2796, allocations: 0.6771 MB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.2799, allocations: 147.7 kB / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.2804, allocations: 279 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.2808, allocations: 290.6 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.2808, allocations: 56 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.281, allocations: 60 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2811, allocations: 131.5 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.2814, allocations: 302.5 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.2822, allocations: 0.6469 MB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2822, allocations: 4 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2822, allocations: 0 / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2822, allocations: 0 / 440.6 MB, free: 14.57 MB / 350.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.001564/0.2838, allocations: 0.8125 MB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2838, allocations: 8.031 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.2841, allocations: 84.5 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.2848, allocations: 318.1 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.2848, allocations: 37.38 kB / 441.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2849, allocations: 56.33 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.2858, allocations: 483.5 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2858, allocations: 4 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.2858, allocations: 20 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.2859, allocations: 12 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.2865, allocations: 332.4 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.2894, allocations: 1.634 MB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.2899, allocations: 249.1 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2902, allocations: 136.2 kB / 444.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.2902, allocations: 4 kB / 444.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2902, allocations: 50.48 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.2902, allocations: 3.938 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002078/0.2923, allocations: 0.8154 MB / 445.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.2924, allocations: 81.11 kB / 445.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2929, allocations: 385.6 kB / 446.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.2929, allocations: 45.69 kB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.2931, allocations: 288.1 kB / 446.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2933, allocations: 119 kB / 446.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2934, allocations: 74.09 kB / 446.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2936, allocations: 350.7 kB / 446.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2938, allocations: 100.8 kB / 447 MB, free: 7.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.2941, allocations: 198.6 kB / 447.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.2946, allocations: 308.5 kB / 447.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2946, allocations: 0 / 447.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009508/0.2956, allocations: 446.8 kB / 448 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2956, allocations: 12.03 kB / 448 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2956, allocations: 4 kB / 448 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.296, allocations: 81.59 kB / 448.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.2963, allocations: 83.84 kB / 448.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.2992, allocations: 2.913 MB / 451 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2995, allocations: 23.89 kB / 451.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.2995, allocations: 19.98 kB / 451.1 MB, free: 3.48 MB / 350.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.0002504/0.2998, allocations: 157.8 kB / 451.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.2999, allocations: 43.77 kB / 451.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.3, allocations: 47.41 kB / 451.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3, allocations: 4 kB / 451.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3, allocations: 7.875 kB / 451.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3, allocations: 3.984 kB / 451.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.3015, allocations: 0.9082 MB / 452.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3015, allocations: 0 / 452.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3017, allocations: 47.95 kB / 452.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.302, allocations: 85.58 kB / 452.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.302, allocations: 8 kB / 452.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.3048, allocations: 2.92 MB / 455.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3048, allocations: 3.938 kB / 455.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3058, allocations: 0.6069 MB / 455.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.3059, allocations: 43.73 kB / 456 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.306, allocations: 11.94 kB / 456 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.3063, allocations: 27.98 kB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.3064, allocations: 27.94 kB / 456 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3064, allocations: 8 kB / 456 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.3067, allocations: 279.2 kB / 456.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 0 / 456.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.3073, allocations: 119.9 kB / 456.4 MB, free: 13.82 MB / 366.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.0001547/0.3075, allocations: 107.2 kB / 456.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000982/0.3085, allocations: 0.493 MB / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3085, allocations: 0 / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.3091, allocations: 388 kB / 457.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.3096, allocations: 71.44 kB / 457.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3116, allocations: 0.9996 MB / 458.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.3121, allocations: 0.8392 MB / 459.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3122, allocations: 31.44 kB / 459.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3122, allocations: 3.938 kB / 459.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.3254, allocations: 9.036 MB / 468.4 MB, free: 1.75 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.526367540005594]