Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001478/0.001478, allocations: 78.66 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001587/0.001587, allocations: 173.3 kB / 24.82 MB, free: 8.934 MB / 18.57 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.039/1.039, allocations: 177.2 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2718/0.2718, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.242e-05, allocations: 2.312 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002897/0.00292, allocations: 2.573 MB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004183, allocations: 0.6658 MB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.004339, allocations: 4 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.004493, allocations: 39.64 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.004622, allocations: 75.27 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.004917, allocations: 79.77 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.005184, allocations: 306.5 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.005326, allocations: 64.78 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.005564, allocations: 179.6 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.005682, allocations: 83.77 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.005718, allocations: 24 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.005786, allocations: 32 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.005821, allocations: 51.77 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.005883, allocations: 91.81 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.006114, allocations: 199.2 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006117, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006118, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006122, allocations: 4 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005594/0.006682, allocations: 0.5701 MB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006721, allocations: 12.03 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.00686, allocations: 56.73 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.007062, allocations: 200.6 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.007077, allocations: 20.88 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.007107, allocations: 16.38 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.00733, allocations: 226.5 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007338, allocations: 4.188 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.007353, allocations: 8.375 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.007362, allocations: 7.938 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.007444, allocations: 63.44 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.00818, allocations: 0.6953 MB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.008307, allocations: 87.02 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.008343, allocations: 31.89 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.008359, allocations: 11.94 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.008387, allocations: 45.31 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.008388, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003662/0.008754, allocations: 153.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.008781, allocations: 51.41 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.00895, allocations: 250.1 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.008968, allocations: 25.7 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.009067, allocations: 214.9 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.009092, allocations: 47.62 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.009141, allocations: 47.31 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.009267, allocations: 0.5039 MB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.009298, allocations: 19.98 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.009355, allocations: 71.92 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.009479, allocations: 119.6 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.009482, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002/0.009682, allocations: 163 kB / 386.6 MB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009695, allocations: 4 kB / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009701, allocations: 0 / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.009827, allocations: 31.67 kB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.009919, allocations: 39.91 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.01077, allocations: 1.721 MB / 388.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.01084, allocations: 19.83 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01085, allocations: 8 kB / 388.4 MB, free: 8.02 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.01099, allocations: 168.7 kB / 388.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.01102, allocations: 27.83 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.01104, allocations: 17.47 kB / 388.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01104, allocations: 4 kB / 388.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01104, allocations: 0 / 388.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01104, allocations: 0 / 388.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01119, allocations: 165 kB / 388.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0112, allocations: 0 / 388.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.01124, allocations: 15.98 kB / 388.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.01134, allocations: 39.66 kB / 388.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01135, allocations: 3.984 kB / 388.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007673/0.01212, allocations: 1.729 MB / 390.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01212, allocations: 3.938 kB / 390.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01237, allocations: 298.3 kB / 390.9 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.01239, allocations: 11.91 kB / 390.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01241, allocations: 15.92 kB / 390.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.01248, allocations: 8 kB / 390.9 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.01252, allocations: 7.984 kB / 390.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.01253, allocations: 7.984 kB / 390.9 MB, free: 5.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.01261, allocations: 168.4 kB / 391.1 MB, free: 5.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01261, allocations: 4 kB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01282, allocations: 63.86 kB / 391.2 MB, free: 5.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 8.696e-05/0.01291, allocations: 99.25 kB / 391.2 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.01318, allocations: 260.4 kB / 391.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01318, allocations: 0 / 391.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.01332, allocations: 222 kB / 391.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01352, allocations: 24.47 kB / 391.7 MB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.01428, allocations: 474.4 kB / 392.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01432, allocations: 75.98 kB / 392.3 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.01437, allocations: 17.48 kB / 392.3 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.01447, allocations: 98.17 kB / 392.4 MB, free: 3.762 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01447, allocations: 4 kB / 392.4 MB, free: 3.758 MB / 362.7 MB Notification: Performance of Templates: time 0.004365/0.01883, allocations: 2.112 MB / 394.5 MB, free: 1.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2453544032759964]