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.001041/0.001041, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001193/0.001193, allocations: 170 kB / 25.61 MB, free: 8.578 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 0.985/0.985, allocations: 177.1 MB / 206 MB, free: 4.488 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.183/0.183, allocations: 34.25 MB / 296.8 MB, free: 14.02 MB / 282.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.323e-06/1.323e-06, allocations: 0 / 379.2 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.236e-05, allocations: 3.734 kB / 379.2 MB, free: 23.47 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002282/0.002304, allocations: 2.569 MB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.003096, allocations: 0.6504 MB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003197, allocations: 7.938 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.003312, allocations: 39.64 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.003408, allocations: 83.27 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.003641, allocations: 79.83 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003828, allocations: 298.6 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.003961, allocations: 65.7 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.004186, allocations: 179.6 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004294, allocations: 91.7 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.004322, allocations: 24 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.004374, allocations: 28 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.004401, allocations: 59.77 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.004455, allocations: 87.81 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.004652, allocations: 195.3 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004654, allocations: 0 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004655, allocations: 7.938 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004659, allocations: 0 / 383.7 MB, free: 19 MB / 314.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.0004671/0.005126, allocations: 0.578 MB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005162, allocations: 8.031 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.00529, allocations: 52.73 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.00546, allocations: 200.1 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005474, allocations: 16.88 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.005502, allocations: 20.38 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.005681, allocations: 226.5 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00569, allocations: 192 / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.005704, allocations: 12.38 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005711, allocations: 11.94 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.00579, allocations: 59.44 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.006412, allocations: 0.6953 MB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.00653, allocations: 95 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.006563, allocations: 27.67 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.006578, allocations: 4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.006598, allocations: 41.39 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.0066, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003422/0.006942, allocations: 165.2 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/0.006958, allocations: 51.41 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.007048, allocations: 250.1 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.007058, allocations: 25.7 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.007118, allocations: 218.9 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.007138, allocations: 51.56 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.007179, allocations: 43.31 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.007236, allocations: 0.5001 MB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.007262, allocations: 15.98 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.007303, allocations: 69.09 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.007409, allocations: 124.2 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.007411, allocations: 0 / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001742/0.007586, allocations: 161 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007597, allocations: 4 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007603, allocations: 4 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.00773, allocations: 27.8 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.00782, allocations: 39.91 kB / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005981/0.008418, allocations: 1.717 MB / 389.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.008483, allocations: 27.89 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.008491, allocations: 7.984 kB / 389.2 MB, free: 13.08 MB / 314.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.0001216/0.008613, allocations: 172.6 kB / 389.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.008642, allocations: 15.91 kB / 389.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.008664, allocations: 21.45 kB / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008666, allocations: 4 kB / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.008669, allocations: 0 / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008673, allocations: 3.984 kB / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.008801, allocations: 169 kB / 389.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008802, allocations: 0 / 389.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.008849, allocations: 23.92 kB / 389.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.531e-05/0.008944, allocations: 27.66 kB / 389.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.008954, allocations: 7.984 kB / 389.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004562/0.00941, allocations: 1.729 MB / 391.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009412, allocations: 3.938 kB / 391.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.009585, allocations: 287.3 kB / 391.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.009605, allocations: 15.86 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.009621, allocations: 7.938 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.009695, allocations: 20.14 kB / 391.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.009726, allocations: 11.98 kB / 391.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.009732, allocations: 3.984 kB / 391.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.009776, allocations: 168.1 kB / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009776, allocations: 0 / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.009971, allocations: 63.89 kB / 391.9 MB, free: 10.16 MB / 314.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 6.952e-05/0.01004, allocations: 95.25 kB / 392 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01026, allocations: 261 kB / 392.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01027, allocations: 4 kB / 392.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01037, allocations: 213.5 kB / 392.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01057, allocations: 20 kB / 392.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.01123, allocations: 494 kB / 393 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.01126, allocations: 75.98 kB / 393.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.01131, allocations: 13.47 kB / 393.1 MB, free: 8.922 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.01138, allocations: 106.2 kB / 393.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01139, allocations: 0 / 393.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of Templates: time 0.003749/0.01513, allocations: 2.163 MB / 395.3 MB, free: 6.684 MB / 314.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.070277197752148]