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.00124/0.00124, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001493/0.001493, allocations: 213.7 kB / 24.54 MB, free: 3.875 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002313/0.002313, allocations: 64.75 kB / 379.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2657, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00591/0.2716, allocations: 4.153 MB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2737, allocations: 0.9619 MB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.2739, allocations: 11.94 kB / 437.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2742, allocations: 91.08 kB / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.2746, allocations: 194.4 kB / 437.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.275, allocations: 155.7 kB / 438 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.2757, allocations: 0.6732 MB / 438.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.2759, allocations: 147.7 kB / 438.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.2763, allocations: 275 kB / 439.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.2767, allocations: 290.7 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.2767, allocations: 60 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2769, allocations: 67.94 kB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.277, allocations: 127.4 kB / 439.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.2773, allocations: 302.5 kB / 439.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.278, allocations: 0.6512 MB / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.278, allocations: 0 / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.278, allocations: 0 / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.278, allocations: 4 kB / 440.6 MB, free: 14.79 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.001489/0.2795, allocations: 0.8086 MB / 441.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2795, allocations: 8.031 kB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.2798, allocations: 92.48 kB / 441.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.2804, allocations: 306.2 kB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2804, allocations: 37.38 kB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.2805, allocations: 52.33 kB / 441.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.2813, allocations: 491.5 kB / 442.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2813, allocations: 3.984 kB / 442.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.2814, allocations: 24 kB / 442.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.2814, allocations: 12 kB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.282, allocations: 332.4 kB / 442.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.2847, allocations: 1.634 MB / 444.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.2852, allocations: 253.1 kB / 444.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.2854, allocations: 124.3 kB / 444.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.2854, allocations: 11.98 kB / 444.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.2855, allocations: 42.55 kB / 444.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2855, allocations: 0 / 444.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001832/0.2873, allocations: 0.8161 MB / 445.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.2874, allocations: 81.11 kB / 445.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.2878, allocations: 393.6 kB / 446 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.2878, allocations: 33.7 kB / 446.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.2881, allocations: 292.1 kB / 446.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.2881, allocations: 119 kB / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2883, allocations: 78.08 kB / 446.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2884, allocations: 354.7 kB / 446.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2886, allocations: 96.83 kB / 447 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.2889, allocations: 198.5 kB / 447.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.2894, allocations: 302.8 kB / 447.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2894, allocations: 4 kB / 447.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008265/0.2902, allocations: 445.5 kB / 447.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2903, allocations: 8 kB / 447.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2903, allocations: 4 kB / 447.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.2906, allocations: 85.91 kB / 448 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.2909, allocations: 87.77 kB / 448.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.2935, allocations: 2.924 MB / 451 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2937, allocations: 19.89 kB / 451 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2938, allocations: 16 kB / 451.1 MB, free: 3.699 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.0002076/0.294, allocations: 157.8 kB / 451.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.2941, allocations: 39.77 kB / 451.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.2941, allocations: 51.39 kB / 451.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2941, allocations: 8.062 kB / 451.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2941, allocations: 3.938 kB / 451.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2942, allocations: 0 / 451.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.2955, allocations: 0.9121 MB / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2955, allocations: 0 / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2957, allocations: 51.91 kB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.296, allocations: 77.64 kB / 452.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.296, allocations: 4 kB / 452.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.2985, allocations: 2.937 MB / 455.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2985, allocations: 0 / 455.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/0.2994, allocations: 0.6021 MB / 455.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.2995, allocations: 43.73 kB / 455.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.2995, allocations: 7.938 kB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.2999, allocations: 31.97 kB / 456 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.2999, allocations: 27.95 kB / 456 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2999, allocations: 12.19 kB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.3003, allocations: 275.2 kB / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3003, allocations: 0 / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.3008, allocations: 116 kB / 456.4 MB, free: 14.04 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.0001399/0.301, allocations: 113.4 kB / 456.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008868/0.3018, allocations: 0.4935 MB / 457 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3018, allocations: 0 / 457 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.3024, allocations: 392.5 kB / 457.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.3029, allocations: 61.39 kB / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3045, allocations: 0.9694 MB / 458.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3051, allocations: 0.8314 MB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3052, allocations: 51.28 kB / 459.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.3053, allocations: 31.38 kB / 459.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3053, allocations: 0 / 459.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0104/0.3157, allocations: 5.008 MB / 464.3 MB, free: 6.02 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/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-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: 5.062699692323804]