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.001384/0.001384, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001566/0.001566, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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.574/1.574, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2553/0.2553, allocations: 46.95 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] 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 0.001984/0.001984, allocations: 71.89 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3896, allocations: 66.03 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003954/0.3936, allocations: 2.428 MB / 0.5642 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3948, allocations: 0.6349 MB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3949, allocations: 7.938 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.395, allocations: 43.58 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3952, allocations: 71.34 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.3955, allocations: 83.83 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.3958, allocations: 290.8 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.396, allocations: 67.23 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.3962, allocations: 127.6 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3964, allocations: 115.5 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.3964, allocations: 24 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.3965, allocations: 27.98 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.3965, allocations: 59.78 kB / 0.5657 GB, free: 240 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.3966, allocations: 103.5 kB / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.397, allocations: 286.6 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.397, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.397, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.397, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 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.0008512/0.3979, allocations: 473.5 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3979, allocations: 16.02 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.398, allocations: 32.8 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3984, allocations: 198 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3984, allocations: 16.81 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.3985, allocations: 20.38 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3989, allocations: 272.6 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3989, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3989, allocations: 19.92 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3989, allocations: 8 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3992, allocations: 137.7 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4004, allocations: 0.6711 MB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.4006, allocations: 94.48 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.4007, allocations: 40.84 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4007, allocations: 7.938 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4008, allocations: 30.56 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.4008, allocations: 0 / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00176/0.4025, allocations: 0.6543 MB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.4026, allocations: 51.41 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.4028, allocations: 214.8 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4028, allocations: 29.7 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4029, allocations: 176.1 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.403, allocations: 67.41 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.4031, allocations: 33.72 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4032, allocations: 330.8 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4034, allocations: 59.97 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.4035, allocations: 105.1 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.4038, allocations: 179.2 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4039, allocations: 4 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005394/0.4044, allocations: 287 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4044, allocations: 4 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4044, allocations: 0 / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.4047, allocations: 69.67 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4048, allocations: 31.92 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.4073, allocations: 2.757 MB / 0.5729 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.4074, allocations: 11.98 kB / 0.5729 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.4075, allocations: 4 kB / 0.5729 GB, free: 8.305 MB / 414.1 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 0.0001362/0.4076, allocations: 137.8 kB / 0.573 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.4076, allocations: 19.91 kB / 0.5731 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.4077, allocations: 25.8 kB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4077, allocations: 4 kB / 0.5731 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4077, allocations: 3.938 kB / 0.5731 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4077, allocations: 0 / 0.5731 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.4079, allocations: 197.2 kB / 0.5733 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4079, allocations: 0 / 0.5733 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.408, allocations: 15.98 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.4082, allocations: 69.61 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.4083, allocations: 8 kB / 0.5734 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.4106, allocations: 2.741 MB / 0.576 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4106, allocations: 0 / 0.576 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.4113, allocations: 404 kB / 0.5764 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.4113, allocations: 11.91 kB / 0.5764 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4113, allocations: 4 kB / 0.5764 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4115, allocations: 16.12 kB / 0.5765 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.4116, allocations: 27.83 kB / 0.5765 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4116, allocations: 7.984 kB / 0.5765 GB, free: 4.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4117, allocations: 152.3 kB / 0.5766 GB, free: 4.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4117, allocations: 3.938 kB / 0.5766 GB, free: 4.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.4121, allocations: 64 kB / 0.5767 GB, free: 4.145 MB / 414.1 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.0001104/0.4122, allocations: 99.25 kB / 0.5768 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.4129, allocations: 397.2 kB / 0.5772 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4129, allocations: 0 / 0.5772 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.4133, allocations: 329.1 kB / 0.5775 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.4136, allocations: 16 kB / 0.5775 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/0.4146, allocations: 0.517 MB / 0.578 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.4147, allocations: 138.2 kB / 0.5781 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.4148, allocations: 17.64 kB / 0.5782 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.4148, allocations: 15.44 kB / 0.5782 GB, free: 2.531 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4148, allocations: 0 / 0.5782 GB, free: 2.531 MB / 414.1 MB Notification: Performance of Templates: time 0.00678/0.4216, allocations: 2.955 MB / 0.5811 GB, free: 15.61 MB / 430.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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: 5.324204368007486]