Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001569/0.001569, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001682/0.001682, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.83 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2693, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005522/0.2748, allocations: 4.148 MB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2767, allocations: 0.9657 MB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.2769, allocations: 8 kB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.2772, allocations: 95.06 kB / 437.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.2776, allocations: 190.4 kB / 437.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.278, allocations: 155.7 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000749/0.2787, allocations: 0.6732 MB / 438.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.279, allocations: 151 kB / 438.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.2794, allocations: 267 kB / 438.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.2798, allocations: 290.7 kB / 439 MB, free: 420 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.2798, allocations: 56 kB / 439.1 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.28, allocations: 60 kB / 439.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2801, allocations: 131.4 kB / 439.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.2804, allocations: 302.5 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.2811, allocations: 0.6553 MB / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2811, allocations: 0 / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2811, allocations: 0 / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.2811, allocations: 4 kB / 440.2 MB, free: 15.21 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.001505/0.2826, allocations: 0.88 MB / 441.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2827, allocations: 8.031 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.283, allocations: 92.48 kB / 441.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.2835, allocations: 372 kB / 441.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2836, allocations: 37.38 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.2837, allocations: 56.33 kB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.2845, allocations: 487.5 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2845, allocations: 0 / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.2845, allocations: 24 kB / 442.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2845, allocations: 12 kB / 442.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.2852, allocations: 328.3 kB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.2879, allocations: 1.698 MB / 444.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.2884, allocations: 241.1 kB / 444.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.2886, allocations: 137.7 kB / 444.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2887, allocations: 4 kB / 444.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2887, allocations: 34.56 kB / 444.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.2887, allocations: 0 / 444.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002031/0.2907, allocations: 0.9709 MB / 445.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.2908, allocations: 81.11 kB / 445.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.2913, allocations: 393.6 kB / 446 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.2913, allocations: 33.7 kB / 446 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.2915, allocations: 292.2 kB / 446.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2916, allocations: 122.9 kB / 446.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.2917, allocations: 74.09 kB / 446.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.2919, allocations: 354.7 kB / 446.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2921, allocations: 100.8 kB / 447 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.2924, allocations: 194.6 kB / 447.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.2929, allocations: 309.3 kB / 447.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2929, allocations: 0 / 447.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008671/0.2938, allocations: 457.6 kB / 447.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2938, allocations: 7.125 kB / 447.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2938, allocations: 8 kB / 447.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.2942, allocations: 77.66 kB / 448 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2945, allocations: 83.86 kB / 448.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.2975, allocations: 3.128 MB / 451.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.2978, allocations: 23.89 kB / 451.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2978, allocations: 12 kB / 451.2 MB, free: 3.453 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.0002572/0.2981, allocations: 161.8 kB / 451.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.2982, allocations: 39.77 kB / 451.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/0.2983, allocations: 51.45 kB / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2983, allocations: 4 kB / 451.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2983, allocations: 3.938 kB / 451.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2983, allocations: 0 / 451.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.2997, allocations: 0.9404 MB / 452.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2997, allocations: 0 / 452.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.3, allocations: 51.91 kB / 452.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.3002, allocations: 77.64 kB / 452.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3002, allocations: 4 kB / 452.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.303, allocations: 3.136 MB / 455.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.303, allocations: 0 / 455.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.304, allocations: 0.6204 MB / 456.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3042, allocations: 116.9 kB / 456.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.3042, allocations: 11.94 kB / 456.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.3045, allocations: 27.98 kB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3046, allocations: 27.95 kB / 456.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.3046, allocations: 8 kB / 456.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.305, allocations: 279.2 kB / 456.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.305, allocations: 0 / 456.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006061/0.3056, allocations: 116 kB / 456.9 MB, free: 13.4 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.0001682/0.3057, allocations: 111.2 kB / 457 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.3067, allocations: 497.7 kB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3067, allocations: 4 kB / 457.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.3073, allocations: 381.2 kB / 457.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.3078, allocations: 72.05 kB / 457.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3098, allocations: 1.01 MB / 458.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.3103, allocations: 0.8392 MB / 459.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.3104, allocations: 31.44 kB / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3104, allocations: 0 / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.3239, allocations: 9.027 MB / 468.8 MB, free: 1.332 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.492572826799005]