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.000968/0.000968, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001204/0.001204, allocations: 168.9 kB / 24.91 MB, free: 8.723 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.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1365/0.1365, allocations: 34.26 MB / 296.1 MB, free: 13.98 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 4.709e-06/4.709e-06, allocations: 1.25 kB / 344.2 MB, free: 31.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/2.23e-05, allocations: 2.312 kB / 344.2 MB, free: 31.08 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003187/0.00321, allocations: 2.622 MB / 346.8 MB, free: 30.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004481, allocations: 0.6732 MB / 347.5 MB, free: 29.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.004609, allocations: 10 kB / 347.5 MB, free: 29.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.004704, allocations: 44.47 kB / 347.6 MB, free: 29.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.004838, allocations: 73.62 kB / 347.6 MB, free: 29.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.005058, allocations: 78.23 kB / 347.7 MB, free: 29.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.005318, allocations: 304.2 kB / 348 MB, free: 29.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.00542, allocations: 67.11 kB / 348.1 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.005675, allocations: 179.4 kB / 348.2 MB, free: 29.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005805, allocations: 82.44 kB / 348.3 MB, free: 29.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.005842, allocations: 27.3 kB / 348.4 MB, free: 29.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.005901, allocations: 29.62 kB / 348.4 MB, free: 29.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.005934, allocations: 52.75 kB / 348.4 MB, free: 29.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.006008, allocations: 91.12 kB / 348.5 MB, free: 29.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006239, allocations: 197.9 kB / 348.7 MB, free: 29.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.006241, allocations: 0 / 348.7 MB, free: 29.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006242, allocations: 1.953 kB / 348.7 MB, free: 29.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.006249, allocations: 0 / 348.7 MB, free: 29.25 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.000389/0.006638, allocations: 448 kB / 349.2 MB, free: 28.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.292e-05/0.006661, allocations: 8.938 kB / 349.2 MB, free: 28.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.006788, allocations: 53.23 kB / 349.2 MB, free: 28.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.006932, allocations: 163.7 kB / 349.4 MB, free: 28.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.006944, allocations: 16.31 kB / 349.4 MB, free: 28.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.006969, allocations: 22.72 kB / 349.4 MB, free: 28.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.007137, allocations: 227.4 kB / 349.6 MB, free: 28.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.007142, allocations: 4.594 kB / 349.6 MB, free: 28.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.007154, allocations: 10.72 kB / 349.7 MB, free: 28.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.00716, allocations: 4.312 kB / 349.7 MB, free: 28.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.007245, allocations: 54.05 kB / 349.7 MB, free: 28.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.007862, allocations: 0.567 MB / 350.3 MB, free: 28.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.007945, allocations: 65.34 kB / 350.3 MB, free: 28.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.007977, allocations: 22.72 kB / 350.4 MB, free: 28.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.007988, allocations: 3.406 kB / 350.4 MB, free: 28.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.008004, allocations: 35.94 kB / 350.4 MB, free: 28.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.008005, allocations: 5.375 kB / 350.4 MB, free: 28.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001024/0.009029, allocations: 0.517 MB / 350.9 MB, free: 27.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.416e-05/0.009043, allocations: 52.97 kB / 351 MB, free: 27.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.009157, allocations: 194.4 kB / 351.2 MB, free: 27.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.009169, allocations: 35.48 kB / 351.2 MB, free: 27.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.00922, allocations: 160.1 kB / 351.4 MB, free: 27.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.00925, allocations: 59.8 kB / 351.4 MB, free: 27.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.009302, allocations: 50.73 kB / 351.5 MB, free: 27.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.009347, allocations: 330 kB / 351.8 MB, free: 27.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.009386, allocations: 18.25 kB / 351.8 MB, free: 27.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.009441, allocations: 67.34 kB / 351.9 MB, free: 26.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.009534, allocations: 110.1 kB / 352 MB, free: 26.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009537, allocations: 2.594 kB / 352 MB, free: 26.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002012/0.009738, allocations: 172.9 kB / 352.1 MB, free: 26.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.009751, allocations: 6.594 kB / 352.2 MB, free: 26.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.009754, allocations: 1.469 kB / 352.2 MB, free: 26.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.009943, allocations: 86.42 kB / 352.2 MB, free: 26.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.01003, allocations: 30 kB / 352.3 MB, free: 26.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009281/0.01096, allocations: 2.467 MB / 354.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.01101, allocations: 3.562 kB / 354.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01102, allocations: 11.44 kB / 354.8 MB, free: 24.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.01109, allocations: 122.2 kB / 354.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01112, allocations: 22.41 kB / 354.9 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.01114, allocations: 24.31 kB / 354.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01114, allocations: 6.25 kB / 354.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.01115, allocations: 2.344 kB / 354.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01116, allocations: 0 / 354.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01129, allocations: 131.1 kB / 355.1 MB, free: 24.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01129, allocations: 3.906 kB / 355.1 MB, free: 24.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.01135, allocations: 14.75 kB / 355.1 MB, free: 24.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.0115, allocations: 78.75 kB / 355.1 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01151, allocations: 15.03 kB / 355.2 MB, free: 24.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008411/0.01235, allocations: 2.466 MB / 357.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01235, allocations: 0 / 357.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.01255, allocations: 255.3 kB / 357.9 MB, free: 21.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.01256, allocations: 17.14 kB / 357.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.01257, allocations: 5.125 kB / 357.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.01264, allocations: 13.75 kB / 357.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.01268, allocations: 22.17 kB / 357.9 MB, free: 21.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.01269, allocations: 2.844 kB / 357.9 MB, free: 21.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.01275, allocations: 56.5 kB / 358 MB, free: 21.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01275, allocations: 0 / 358 MB, free: 21.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.01297, allocations: 63.47 kB / 358.1 MB, free: 21.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.893e-05/0.01306, allocations: 79.3 kB / 358.1 MB, free: 21.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.01337, allocations: 353.6 kB / 358.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01338, allocations: 2.25 kB / 358.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.01356, allocations: 294.4 kB / 358.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.01373, allocations: 32.09 kB / 358.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.01455, allocations: 0.4902 MB / 359.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.503e-05/0.01461, allocations: 84.59 kB / 359.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.01466, allocations: 11.8 kB / 359.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.01474, allocations: 84.3 kB / 359.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01474, allocations: 1.562 kB / 359.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004322/0.01907, allocations: 2.831 MB / 362.3 MB, free: 18.34 MB / 314.7 MB Notification: Evaluated the parameters basicTransformer.L1, basicTransformer.M, basicTransformer.L2, since an equation would be solved by dividing by zero otherwise. Changing them requires recompiling the model. " [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 -s gbode -gbm=radauIIA3 -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.117799136787653]