Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.0009165/0.0009165, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009119/0.0009119, allocations: 166.6 kB / 24.91 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3037/0.3037, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 4 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.993e-05, allocations: 2.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004399/0.004429, allocations: 2.62 MB / 328.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.005808, allocations: 0.6708 MB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.005956, allocations: 7.938 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.006106, allocations: 35.64 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.00627, allocations: 75.28 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.006568, allocations: 83.7 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.006885, allocations: 306.5 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.007055, allocations: 67.23 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.007379, allocations: 179.6 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.007537, allocations: 87.7 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.007575, allocations: 24 kB / 330.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-05/0.007657, allocations: 24 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.007701, allocations: 55.81 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.007787, allocations: 87.77 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.008072, allocations: 199.3 kB / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.008076, allocations: 0 / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008078, allocations: 0 / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008083, allocations: 0 / 330.4 MB, free: 2.621 MB / 298.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.0006012/0.008684, allocations: 453.6 kB / 330.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.008726, allocations: 8.031 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.008909, allocations: 44.89 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.009489, allocations: 173.8 kB / 331.1 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.009511, allocations: 16.88 kB / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.009552, allocations: 24.38 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.009829, allocations: 226.5 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.009841, allocations: 4.125 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.009871, allocations: 16.36 kB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.009882, allocations: 7.938 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.009987, allocations: 51.47 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.01087, allocations: 0.5631 MB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.01099, allocations: 62.55 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.01103, allocations: 20.84 kB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01105, allocations: 8.125 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.01107, allocations: 34.56 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.01107, allocations: 8 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.00125/0.01232, allocations: 0.5254 MB / 332.6 MB, free: 220 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.01235, allocations: 51.41 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01251, allocations: 190.9 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.01253, allocations: 29.7 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.01261, allocations: 160.2 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01265, allocations: 59.47 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.01272, allocations: 49.64 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01282, allocations: 334.8 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.01286, allocations: 12 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.01293, allocations: 73.03 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.01306, allocations: 105.3 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01306, allocations: 0 / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002617/0.01332, allocations: 167.1 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01334, allocations: 8 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01334, allocations: 0 / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.01359, allocations: 85.75 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01371, allocations: 35.92 kB / 334 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.01534, allocations: 2.46 MB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.01543, allocations: 8 kB / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01545, allocations: 15.98 kB / 336.5 MB, free: 12.12 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 9.941e-05/0.01554, allocations: 121.7 kB / 336.6 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.01559, allocations: 15.98 kB / 336.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.01561, allocations: 25.73 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01562, allocations: 4 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.01563, allocations: 4.031 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01563, allocations: 3.938 kB / 336.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.01583, allocations: 133.8 kB / 336.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01583, allocations: 0 / 336.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.01589, allocations: 15.98 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.01609, allocations: 85.67 kB / 336.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.0161, allocations: 4 kB / 336.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.01783, allocations: 2.464 MB / 339.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01783, allocations: 4 kB / 339.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.01811, allocations: 249 kB / 339.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.01814, allocations: 19.86 kB / 339.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01816, allocations: 3.938 kB / 339.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.01827, allocations: 15.98 kB / 339.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01833, allocations: 23.97 kB / 339.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01834, allocations: 4 kB / 339.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.0184, allocations: 65.78 kB / 339.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0184, allocations: 0 / 339.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.01874, allocations: 60 kB / 339.8 MB, free: 8.586 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 0.0001025/0.01884, allocations: 80.42 kB / 339.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.01924, allocations: 343.2 kB / 340.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01925, allocations: 0 / 340.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.01951, allocations: 305.9 kB / 340.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01975, allocations: 20 kB / 340.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.02082, allocations: 482.5 kB / 341 MB, free: 7.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.02089, allocations: 84.31 kB / 341 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.02097, allocations: 17.62 kB / 341.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02108, allocations: 83.36 kB / 341.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02108, allocations: 0 / 341.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of Templates: time 0.006257/0.02734, allocations: 2.841 MB / 344 MB, free: 4.305 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.972308706957847]