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.001459/0.001459, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 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.001634/0.001634, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 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.352/1.352, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 46.92 MB / 361.5 MB, free: 4.172 MB / 286.1 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 0.002238/0.002238, allocations: 83.86 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3112, allocations: 66.07 MB / 0.5619 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004703/0.3159, allocations: 2.607 MB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3172, allocations: 0.6855 MB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3173, allocations: 7.938 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.3174, allocations: 39.62 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3176, allocations: 71.36 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3179, allocations: 79.83 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.3182, allocations: 294.7 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3184, allocations: 71.23 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3187, allocations: 123.6 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.3188, allocations: 119.5 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.3189, allocations: 24 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.319, allocations: 27.98 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.319, allocations: 55.84 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3191, allocations: 123.3 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.3195, allocations: 286.5 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3195, allocations: 4 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3195, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3195, allocations: 0 / 0.5664 GB, free: 15.62 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.0007982/0.3203, allocations: 481.5 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3203, allocations: 8.031 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3205, allocations: 32.8 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.3208, allocations: 202.1 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3209, allocations: 12.81 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.3209, allocations: 24.38 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3212, allocations: 191.6 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3213, allocations: 0 / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3213, allocations: 15.94 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3213, allocations: 4 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3216, allocations: 137.7 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.3228, allocations: 0.7718 MB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.323, allocations: 98.41 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.3231, allocations: 44.84 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3231, allocations: 4 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3231, allocations: 30.56 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3232, allocations: 4 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001645/0.3248, allocations: 0.6504 MB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3248, allocations: 51.41 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.325, allocations: 214.9 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3251, allocations: 33.7 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3252, allocations: 172.2 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3252, allocations: 51.59 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3253, allocations: 45.66 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3255, allocations: 330.8 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3256, allocations: 55.97 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.3258, allocations: 118.4 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3261, allocations: 171.8 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3261, allocations: 0 / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000504/0.3266, allocations: 278.9 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3266, allocations: 4 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3266, allocations: 8.156 kB / 0.5705 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.3268, allocations: 65.67 kB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.327, allocations: 35.92 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.3295, allocations: 2.822 MB / 0.5734 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3296, allocations: 8.031 kB / 0.5734 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3296, allocations: 12 kB / 0.5734 GB, free: 7.969 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.000151/0.3298, allocations: 141.6 kB / 0.5735 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.3298, allocations: 23.89 kB / 0.5735 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.3299, allocations: 21.81 kB / 0.5735 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3299, allocations: 0 / 0.5735 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3299, allocations: 4 kB / 0.5736 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3299, allocations: 3.984 kB / 0.5736 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.3302, allocations: 256.5 kB / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3302, allocations: 0 / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.3303, allocations: 19.92 kB / 0.5738 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.3305, allocations: 73.61 kB / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3305, allocations: 7.984 kB / 0.5739 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.3329, allocations: 2.803 MB / 0.5766 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3329, allocations: 0.6562 kB / 0.5766 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.3335, allocations: 399.1 kB / 0.577 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.3336, allocations: 19.92 kB / 0.577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3336, allocations: 4 kB / 0.577 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3337, allocations: 15.98 kB / 0.5771 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3338, allocations: 15.97 kB / 0.5771 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3338, allocations: 4 kB / 0.5771 GB, free: 3.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.334, allocations: 160.6 kB / 0.5772 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 0 / 0.5772 GB, free: 3.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3343, allocations: 64 kB / 0.5773 GB, free: 3.656 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.0001141/0.3344, allocations: 95.19 kB / 0.5774 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.3351, allocations: 401.2 kB / 0.5778 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3351, allocations: 0 / 0.5778 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.3355, allocations: 321.2 kB / 0.5781 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3358, allocations: 36.22 kB / 0.5781 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.3368, allocations: 0.5373 MB / 0.5786 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.3372, allocations: 0.748 MB / 0.5794 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3372, allocations: 23.42 kB / 0.5794 GB, free: 1.387 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3372, allocations: 0 / 0.5794 GB, free: 1.387 MB / 414.1 MB Notification: Performance of Templates: time 0.006688/0.3439, allocations: 4.597 MB / 0.5839 GB, free: 12.8 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.61022739787586]