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.00171/0.00171, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002058/0.002058, allocations: 213.1 kB / 24.48 MB, free: 3.961 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.002561/0.002561, allocations: 63.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3822, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004174/0.3864, allocations: 2.419 MB / 0.5642 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3876, allocations: 0.6349 MB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3878, allocations: 7.938 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.3879, allocations: 43.64 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3881, allocations: 79.33 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3884, allocations: 71.84 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.3887, allocations: 302.7 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3889, allocations: 67.39 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.3891, allocations: 123.5 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3893, allocations: 119.5 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3893, allocations: 20 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.3894, allocations: 35.98 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.3895, allocations: 43.84 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3896, allocations: 107.5 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.39, allocations: 298.5 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.39, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.39, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.39, allocations: 0 / 0.566 GB, free: 15.8 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.0008477/0.3908, allocations: 481.5 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3909, allocations: 8.031 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3911, allocations: 32.8 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3914, allocations: 198.1 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3914, allocations: 16.81 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.3915, allocations: 20.38 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3919, allocations: 272.7 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3919, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.392, allocations: 12 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.392, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.3923, allocations: 141.6 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3936, allocations: 0.671 MB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3938, allocations: 94.48 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.3939, allocations: 40.84 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3939, allocations: 3.938 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3939, allocations: 42.56 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3939, allocations: 4 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00184/0.3958, allocations: 0.6543 MB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.3958, allocations: 55.41 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.3961, allocations: 210.8 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3961, allocations: 25.7 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3962, allocations: 176.2 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.3963, allocations: 63.45 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.3964, allocations: 41.7 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3965, allocations: 326.8 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3967, allocations: 59.97 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3969, allocations: 113 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.3972, allocations: 171.4 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3972, allocations: 0 / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00056/0.3977, allocations: 286.9 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3978, allocations: 8 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3978, allocations: 0 / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.398, allocations: 65.67 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3982, allocations: 31.92 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.4008, allocations: 2.756 MB / 0.5729 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.401, allocations: 12.02 kB / 0.5729 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.401, allocations: 8 kB / 0.5729 GB, free: 8.254 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.0001781/0.4012, allocations: 141.6 kB / 0.573 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.4012, allocations: 19.84 kB / 0.5731 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.4013, allocations: 25.8 kB / 0.5731 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4013, allocations: 144 / 0.5731 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4013, allocations: 7.984 kB / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4013, allocations: 0 / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.4016, allocations: 189.2 kB / 0.5733 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4016, allocations: 3.938 kB / 0.5733 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.4017, allocations: 19.92 kB / 0.5733 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.4019, allocations: 73.61 kB / 0.5734 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4019, allocations: 8 kB / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.4044, allocations: 2.749 MB / 0.5761 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4044, allocations: 0 / 0.5761 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.4051, allocations: 384.8 kB / 0.5764 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.4051, allocations: 11.94 kB / 0.5764 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4052, allocations: 8 kB / 0.5764 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.4053, allocations: 20.05 kB / 0.5765 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.4054, allocations: 23.91 kB / 0.5765 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4054, allocations: 3.984 kB / 0.5765 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.4056, allocations: 156.2 kB / 0.5766 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4056, allocations: 0 / 0.5766 GB, free: 4.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.406, allocations: 64 kB / 0.5767 GB, free: 4.098 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.0001572/0.4062, allocations: 95.19 kB / 0.5768 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007564/0.4069, allocations: 400.1 kB / 0.5772 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4069, allocations: 0 / 0.5772 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.4074, allocations: 329.1 kB / 0.5775 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4078, allocations: 31.25 kB / 0.5775 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4089, allocations: 0.5351 MB / 0.578 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4091, allocations: 134.2 kB / 0.5782 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.4091, allocations: 19.44 kB / 0.5782 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4091, allocations: 0 / 0.5782 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Templates: time 0.007291/0.4164, allocations: 4.605 MB / 0.5827 GB, free: 13.86 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 -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: 8.555940429010661]