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.001748/0.001748, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002201/0.002201, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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 0.002361/0.002361, allocations: 51.86 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2802, allocations: 53.37 MB / 432.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005867/0.286, allocations: 3.7 MB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.288, allocations: 0.9307 MB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.2882, allocations: 15.94 kB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.2885, allocations: 91.08 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.2889, allocations: 190.4 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2893, allocations: 155.7 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008808/0.2902, allocations: 0.6771 MB / 438.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.2905, allocations: 143.7 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.2909, allocations: 275 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.2913, allocations: 294.6 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.2914, allocations: 56 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2915, allocations: 56 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2916, allocations: 131.5 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2919, allocations: 254.8 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.2927, allocations: 0.6591 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2927, allocations: 7.984 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2927, allocations: 3.938 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2927, allocations: 0 / 440 MB, free: 15.03 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.001626/0.2943, allocations: 0.8008 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2944, allocations: 8.031 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.2947, allocations: 88.48 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.2953, allocations: 314.1 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.2953, allocations: 41.36 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.2954, allocations: 52.33 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.2964, allocations: 0.6306 MB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2964, allocations: 0 / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.2965, allocations: 20 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.2965, allocations: 12 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.2971, allocations: 328.4 kB / 442.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.2999, allocations: 1.452 MB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.3004, allocations: 249.1 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3006, allocations: 129.7 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3006, allocations: 7.938 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3007, allocations: 38.56 kB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.3007, allocations: 0 / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001971/0.3026, allocations: 0.8123 MB / 444.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3027, allocations: 85.05 kB / 445 MB, free: 9.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.3033, allocations: 377.5 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3033, allocations: 33.7 kB / 445.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3036, allocations: 292.1 kB / 445.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3037, allocations: 122.9 kB / 445.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3038, allocations: 78.08 kB / 445.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.304, allocations: 354.7 kB / 446.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.3043, allocations: 104.8 kB / 446.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3046, allocations: 186.6 kB / 446.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.3051, allocations: 308.7 kB / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3051, allocations: 0 / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008962/0.306, allocations: 448.5 kB / 447.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.306, allocations: 4 kB / 447.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3061, allocations: 4 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3064, allocations: 89.69 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.3068, allocations: 79.89 kB / 447.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.3097, allocations: 2.87 MB / 450.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.31, allocations: 19.89 kB / 450.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.31, allocations: 19.98 kB / 450.4 MB, free: 4.062 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.0002184/0.3102, allocations: 165.7 kB / 450.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3103, allocations: 43.77 kB / 450.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.3104, allocations: 43.3 kB / 450.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3104, allocations: 8.25 kB / 450.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3104, allocations: 4 kB / 450.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3104, allocations: 3.984 kB / 450.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3118, allocations: 0.8092 MB / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3118, allocations: 0 / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.3121, allocations: 43.97 kB / 451.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.3124, allocations: 89.53 kB / 451.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3124, allocations: 4 kB / 451.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.3153, allocations: 2.878 MB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3153, allocations: 0 / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3164, allocations: 0.603 MB / 455 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.3165, allocations: 39.8 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.3165, allocations: 4 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.3169, allocations: 31.97 kB / 455.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.3169, allocations: 23.95 kB / 455.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.317, allocations: 12 kB / 455.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.3174, allocations: 263.2 kB / 455.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 455.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006256/0.318, allocations: 120 kB / 455.5 MB, free: 14.61 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.000149/0.3181, allocations: 111.1 kB / 455.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3192, allocations: 0.5055 MB / 456.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3192, allocations: 0 / 456.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.3198, allocations: 373.2 kB / 456.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3203, allocations: 49.86 kB / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3222, allocations: 0.9655 MB / 457.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3225, allocations: 238.2 kB / 457.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.3226, allocations: 47.19 kB / 457.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.3227, allocations: 27.44 kB / 457.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3227, allocations: 0 / 457.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01159/0.3343, allocations: 5.183 MB / 463 MB, free: 7.066 MB / 366.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 -s gbode -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/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_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: 7.837651496010949]