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.001526/0.001526, allocations: 116.9 kB / 19.17 MB, free: 3.91 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.001635/0.001635, allocations: 210.5 kB / 22.13 MB, free: 0.9609 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.406/1.406, allocations: 230.4 MB / 255.4 MB, free: 9.09 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.001917/0.001917, allocations: 67.83 kB / 374.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2763, allocations: 53.32 MB / 428.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005649/0.2819, allocations: 4.122 MB / 432.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.2839, allocations: 0.9658 MB / 433.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.2841, allocations: 11.94 kB / 433.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.2844, allocations: 91.08 kB / 433.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.2848, allocations: 190.4 kB / 433.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.2852, allocations: 159.7 kB / 433.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.286, allocations: 0.6771 MB / 434.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.2863, allocations: 139.1 kB / 434.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.2866, allocations: 270.9 kB / 434.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.287, allocations: 290.6 kB / 435 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.2871, allocations: 60 kB / 435 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2872, allocations: 63.98 kB / 435.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2873, allocations: 123.5 kB / 435.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.2876, allocations: 302.5 kB / 435.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007692/0.2884, allocations: 0.6546 MB / 436.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2884, allocations: 4 kB / 436.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2884, allocations: 0 / 436.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2884, allocations: 0 / 436.2 MB, free: 15.93 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.001536/0.2899, allocations: 0.8868 MB / 437.1 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.29, allocations: 8.031 kB / 437.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.2903, allocations: 92.48 kB / 437.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.2909, allocations: 372 kB / 437.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.2909, allocations: 37.38 kB / 437.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.291, allocations: 52.33 kB / 437.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.2919, allocations: 487.5 kB / 438.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2919, allocations: 0 / 438.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.2919, allocations: 20 kB / 438.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.292, allocations: 12 kB / 438.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.2926, allocations: 336.3 kB / 438.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2954, allocations: 1.69 MB / 440.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.2959, allocations: 253.1 kB / 440.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.2961, allocations: 129.6 kB / 440.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2961, allocations: 11.98 kB / 440.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2962, allocations: 38.56 kB / 440.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.2962, allocations: 0 / 440.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00201/0.2982, allocations: 0.9629 MB / 441.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.2983, allocations: 81.11 kB / 441.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.2987, allocations: 389.6 kB / 442 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.2987, allocations: 33.7 kB / 442 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.299, allocations: 296.2 kB / 442.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.2991, allocations: 123 kB / 442.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2992, allocations: 74.08 kB / 442.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2994, allocations: 354.7 kB / 442.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2996, allocations: 96.83 kB / 442.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.2999, allocations: 194.6 kB / 443.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.3004, allocations: 311.3 kB / 443.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3004, allocations: 0 / 443.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008751/0.3013, allocations: 444 kB / 443.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3013, allocations: 11.98 kB / 443.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3013, allocations: 4 kB / 443.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.3016, allocations: 85.91 kB / 444 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.302, allocations: 75.91 kB / 444 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.305, allocations: 3.132 MB / 447.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.3052, allocations: 23.91 kB / 447.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3053, allocations: 16 kB / 447.2 MB, free: 4.176 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.0002621/0.3055, allocations: 165.7 kB / 447.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.3056, allocations: 39.77 kB / 447.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.3057, allocations: 47.41 kB / 447.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3057, allocations: 4 kB / 447.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/0.3057, allocations: 12 kB / 447.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3058, allocations: 3.984 kB / 447.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.3072, allocations: 0.9455 MB / 448.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3072, allocations: 4 kB / 448.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.3074, allocations: 43.92 kB / 448.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.3077, allocations: 77.64 kB / 448.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3077, allocations: 11.98 kB / 448.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.3105, allocations: 3.131 MB / 451.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3105, allocations: 0 / 451.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009666/0.3115, allocations: 0.6066 MB / 452.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3116, allocations: 116.9 kB / 452.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.3116, allocations: 15.92 kB / 452.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.3119, allocations: 27.98 kB / 452.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.312, allocations: 27.91 kB / 452.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.3121, allocations: 15.98 kB / 452.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3124, allocations: 267.2 kB / 452.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3124, allocations: 0 / 452.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.313, allocations: 116 kB / 452.9 MB, free: 14.12 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.0001631/0.3131, allocations: 115.3 kB / 453 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009475/0.3141, allocations: 497.1 kB / 453.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3141, allocations: 4 kB / 453.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.3147, allocations: 381.8 kB / 453.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3152, allocations: 61.52 kB / 453.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3169, allocations: 1.006 MB / 454.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3174, allocations: 0.8314 MB / 455.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3175, allocations: 43.36 kB / 455.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3175, allocations: 4 kB / 455.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01213/0.3297, allocations: 9.021 MB / 464.8 MB, free: 2.059 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.356967088067904]