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.001896/0.001896, allocations: 103.5 kB / 20.96 MB, free: 3.453 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.002031/0.002031, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.608/1.608, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.3807/0.3807, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 1.924e-06/1.924e-06, allocations: 0 / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.209e-05, allocations: 2.312 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004957/0.004989, allocations: 2.556 MB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.006496, allocations: 0.6504 MB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.006642, allocations: 8 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.006818, allocations: 43.58 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.006984, allocations: 75.28 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.00732, allocations: 83.81 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.007703, allocations: 302.4 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.007884, allocations: 60.72 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.008223, allocations: 183.6 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.008384, allocations: 83.78 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.00843, allocations: 20 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.00852, allocations: 35.98 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.008581, allocations: 47.77 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.008705, allocations: 87.83 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.00915, allocations: 302.9 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.009155, allocations: 0 / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.009156, allocations: 0 / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.009163, allocations: 0 / 381.7 MB, free: 14.42 MB / 362.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.0009793/0.01014, allocations: 0.5816 MB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01018, allocations: 8.031 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.01039, allocations: 56.73 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.01073, allocations: 196.7 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.01075, allocations: 16.88 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.01079, allocations: 16.38 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.01123, allocations: 265.8 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01125, allocations: 192 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01127, allocations: 12.38 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.01129, allocations: 7.938 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.01158, allocations: 137.9 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01305, allocations: 0.7846 MB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.01328, allocations: 103 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.01338, allocations: 47.67 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.0134, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.01344, allocations: 37.39 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.01344, allocations: 4 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001782/0.01522, allocations: 0.6408 MB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.01527, allocations: 55.41 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.01556, allocations: 289.5 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.01559, allocations: 33.7 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.01577, allocations: 222.9 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.01584, allocations: 67.45 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.01593, allocations: 51.33 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/0.01622, allocations: 0.5079 MB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.01636, allocations: 55.97 kB / 385.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.01656, allocations: 118.1 kB / 386 MB, free: 9.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.01691, allocations: 189.1 kB / 386.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01691, allocations: 0 / 386.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000574/0.01748, allocations: 284.6 kB / 386.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.01751, allocations: 12.09 kB / 386.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01752, allocations: 4 kB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.01825, allocations: 107.2 kB / 386.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01841, allocations: 23.98 kB / 386.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.02194, allocations: 3.81 MB / 390.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.0221, allocations: 11.98 kB / 390.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.02212, allocations: 4 kB / 390.4 MB, free: 5.105 MB / 362.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 0.0002116/0.02233, allocations: 188.6 kB / 390.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.02239, allocations: 23.86 kB / 390.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.02244, allocations: 25.8 kB / 390.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.02245, allocations: 3.938 kB / 390.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.02245, allocations: 4 kB / 390.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02246, allocations: 0 / 390.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.02281, allocations: 232.5 kB / 390.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02282, allocations: 0 / 390.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.0229, allocations: 11.98 kB / 390.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.02325, allocations: 103.2 kB / 391 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.02326, allocations: 4.125 kB / 391 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.0269, allocations: 3.802 MB / 394.8 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.02691, allocations: 3.984 kB / 394.8 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.02767, allocations: 453.4 kB / 395.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.02771, allocations: 19.86 kB / 395.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.02773, allocations: 0 / 395.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.0279, allocations: 20.17 kB / 395.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.02797, allocations: 11.97 kB / 395.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02799, allocations: 12 kB / 395.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.02818, allocations: 195.1 kB / 395.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02818, allocations: 0 / 395.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.02857, allocations: 71.88 kB / 395.6 MB, free: 15.62 MB / 378.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.0001448/0.02871, allocations: 107.2 kB / 395.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008235/0.02954, allocations: 0.5178 MB / 396.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02954, allocations: 0 / 396.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.03009, allocations: 451.5 kB / 396.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.0304, allocations: 19.98 kB / 396.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.03145, allocations: 495.9 kB / 397.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.0316, allocations: 138.2 kB / 397.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.044e-05/0.03168, allocations: 13.64 kB / 397.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.03174, allocations: 20.48 kB / 397.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03174, allocations: 4 kB / 397.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of Templates: time 0.007511/0.03925, allocations: 2.708 MB / 400 MB, free: 11.08 MB / 378.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 -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","/var/lib/jenkins/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: 5.1042286299634725]