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.001888/0.001888, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002213/0.002213, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2205/0.2205, allocations: 46.96 MB / 361.6 MB, free: 4 MB / 286.1 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 0.002065/0.002065, allocations: 67.88 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004216/0.335, allocations: 2.423 MB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3362, allocations: 0.6389 MB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3363, allocations: 11.94 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.3365, allocations: 31.64 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.3366, allocations: 71.36 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.3369, allocations: 79.81 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.3372, allocations: 294.7 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3374, allocations: 80.2 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.3376, allocations: 119.6 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3378, allocations: 123.5 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.3379, allocations: 20 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.3379, allocations: 28 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.338, allocations: 51.78 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3381, allocations: 107.5 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.3384, allocations: 289.5 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3385, allocations: 3.984 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3385, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3385, allocations: 0 / 0.566 GB, free: 15.79 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.0008895/0.3394, allocations: 481.5 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3394, allocations: 8.031 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3396, allocations: 36.78 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3399, allocations: 194.1 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.34, allocations: 16.81 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.34, allocations: 20.38 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3404, allocations: 272.7 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3404, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3405, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3405, allocations: 11.98 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.3408, allocations: 137.6 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.342, allocations: 0.6789 MB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3422, allocations: 90.48 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.3423, allocations: 44.84 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3423, allocations: 7.938 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3423, allocations: 38.55 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3423, allocations: 0 / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00171/0.3441, allocations: 0.6426 MB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3441, allocations: 59.34 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3443, allocations: 214.8 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3443, allocations: 30.36 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3444, allocations: 168.2 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3445, allocations: 59.48 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.3446, allocations: 45.7 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3447, allocations: 330.8 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3449, allocations: 55.97 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.345, allocations: 105.1 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.3453, allocations: 179.3 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3453, allocations: 7.938 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005369/0.3459, allocations: 282.9 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3459, allocations: 4 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3459, allocations: 4 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.3461, allocations: 65.83 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3463, allocations: 39.92 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.3488, allocations: 2.753 MB / 0.5729 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3489, allocations: 16.06 kB / 0.5729 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3489, allocations: 12 kB / 0.5729 GB, free: 8.238 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.0001441/0.3491, allocations: 129.8 kB / 0.5731 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.3491, allocations: 23.84 kB / 0.5731 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.3492, allocations: 21.81 kB / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3492, allocations: 0 / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3492, allocations: 3.984 kB / 0.5731 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.3492, allocations: 11.91 kB / 0.5731 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3492, allocations: 8 kB / 0.5731 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3494, allocations: 19.98 kB / 0.5731 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.3495, allocations: 19.95 kB / 0.5732 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006759/0.3501, allocations: 314.3 kB / 0.5735 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005221/0.3507, allocations: 425.4 kB / 0.5739 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001282/0.3508, allocations: 56 kB / 0.5739 GB, free: 7.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3509, allocations: 148.2 kB / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3509, allocations: 0 / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.3518, allocations: 423.6 kB / 0.5745 GB, free: 6.582 MB / 414.1 MB Notification: Performance of SimCode: time 0.001174/0.353, allocations: 0.9809 MB / 0.5754 GB, free: 5.555 MB / 414.1 MB Notification: Performance of Templates: time 0.007113/0.3601, allocations: 3.146 MB / 0.5785 GB, free: 2.441 MB / 414.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 -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: 4.9416790880059125]